質問編集履歴
1
エラーメッセージの追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -127,3 +127,41 @@
|
|
127
127
|
root.mainloop()
|
128
128
|
|
129
129
|
```
|
130
|
+
|
131
|
+
#エラーメッセージ
|
132
|
+
|
133
|
+
```ここに言語を入力
|
134
|
+
|
135
|
+
Exception in Tkinter callback
|
136
|
+
|
137
|
+
Traceback (most recent call last):
|
138
|
+
|
139
|
+
File "C:\ANACONDA\lib\tkinter\__init__.py", line 1705, in __call__
|
140
|
+
|
141
|
+
return self.func(*args)
|
142
|
+
|
143
|
+
File "<ipython-input-2-a563075303f8>", line 37, in btn_click
|
144
|
+
|
145
|
+
search_check = browser.find_element_by_name("entry PDB")
|
146
|
+
|
147
|
+
File "C:\ANACONDA\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 496, in find_element_by_name
|
148
|
+
|
149
|
+
return self.find_element(by=By.NAME, value=name)
|
150
|
+
|
151
|
+
File "C:\ANACONDA\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 978, in find_element
|
152
|
+
|
153
|
+
'value': value})['value']
|
154
|
+
|
155
|
+
File "C:\ANACONDA\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
|
156
|
+
|
157
|
+
self.error_handler.check_response(response)
|
158
|
+
|
159
|
+
File "C:\ANACONDA\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
|
160
|
+
|
161
|
+
raise exception_class(message, screen, stacktrace)
|
162
|
+
|
163
|
+
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"css selector","selector":"[name="entry PDB"]"}
|
164
|
+
|
165
|
+
(Session info: chrome=86.0.4240.198)
|
166
|
+
|
167
|
+
```
|