質問編集履歴
1
エラーメッセージの追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -63,3 +63,39 @@
|
|
63
63
|
search_id = browser.find_element_by_id("search-bar-input-text")
|
64
64
|
|
65
65
|
search_id.send_keys(EditBox_value)
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
#エラーメッセージ
|
70
|
+
|
71
|
+
Exception in Tkinter callback
|
72
|
+
|
73
|
+
Traceback (most recent call last):
|
74
|
+
|
75
|
+
File "C:\ANACONDA\lib\tkinter\__init__.py", line 1705, in __call__
|
76
|
+
|
77
|
+
return self.func(*args)
|
78
|
+
|
79
|
+
File "<ipython-input-22-42d55a33050c>", line 32, in btn_click
|
80
|
+
|
81
|
+
search_id1 = browser.find_element_by_id("menu1")
|
82
|
+
|
83
|
+
File "C:\ANACONDA\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 360, in find_element_by_id
|
84
|
+
|
85
|
+
return self.find_element(by=By.ID, value=id_)
|
86
|
+
|
87
|
+
File "C:\ANACONDA\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 978, in find_element
|
88
|
+
|
89
|
+
'value': value})['value']
|
90
|
+
|
91
|
+
File "C:\ANACONDA\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
|
92
|
+
|
93
|
+
self.error_handler.check_response(response)
|
94
|
+
|
95
|
+
File "C:\ANACONDA\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
|
96
|
+
|
97
|
+
raise exception_class(message, screen, stacktrace)
|
98
|
+
|
99
|
+
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"css selector","selector":"[id="menu1"]"}
|
100
|
+
|
101
|
+
(Session info: chrome=86.0.4240.198)
|