質問編集履歴
1
どこで処理が止まってしまうかと、出ているエラーを追記しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -19,6 +19,8 @@
|
|
19
19
|
|
20
20
|
そもそもループ処理について学習中ですので、whileの使い方に不安があります・・。
|
21
21
|
|
22
|
+
(追記)
|
23
|
+
ブランド名入力→素材名入力→Nextpageがないので戻って素材名クリア→次の素材名入力→データ抽出・完了→Nextpageがでなくなるまで読み込んだので戻って次の素材名入力、としたいのですがここで以下のエラーが出ます。
|
22
24
|
|
23
25
|
|
24
26
|
### 該当のソースコード
|
@@ -125,4 +127,17 @@
|
|
125
127
|
|
126
128
|
|
127
129
|
### 補足
|
128
|
-
|
130
|
+
エラーメッセージ
|
131
|
+
Traceback (most recent call last):
|
132
|
+
File "/main.py", line 73, in <module>
|
133
|
+
CLEAR.click()
|
134
|
+
File "/webelement.py", line 94, in click
|
135
|
+
self._execute(Command.CLICK_ELEMENT)
|
136
|
+
File "/webelement.py", line 395, in _execute
|
137
|
+
return self._parent.execute(command, params)
|
138
|
+
File "/webdriver.py", line 348, in execute
|
139
|
+
self.error_handler.check_response(response)
|
140
|
+
File "/errorhandler.py", line 229, in check_response
|
141
|
+
raise exception_class(message, screen, stacktrace)
|
142
|
+
selenium.common.exceptions.ElementNotInteractableException: Message: element not interactable
|
143
|
+
(Session info: chrome=120.0.6099.234)
|