質問編集履歴
14
本分修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -88,5 +88,4 @@
|
|
88
88
|
|
89
89
|
|
90
90
|
### 補足情報(FW/ツールのバージョンなど)
|
91
|
-
|
91
|
+
|
92
|
-

|
13
本文修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -55,7 +55,7 @@
|
|
55
55
|
<dt class="hoge-hoge-select__filter-name">
|
56
56
|
<dd class="hoge-hoge-select__filter-input">
|
57
57
|
<div class="hoge-text-input__wrapper">
|
58
|
-
<input type="text" class="hoge-text-input" placeholder="keyを入力" value>
|
58
|
+
<input type="text" class="hoge-text-input" placeholder="key名を入力" value>
|
59
59
|
```
|
60
60
|
|
61
61
|
### 試したこと
|
12
画像変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -89,5 +89,4 @@
|
|
89
89
|
|
90
90
|
### 補足情報(FW/ツールのバージョンなど)
|
91
91
|
対象入力フィールド画像
|
92
|
-

|
93
|
-
|
11
画像修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -89,5 +89,5 @@
|
|
89
89
|
|
90
90
|
### 補足情報(FW/ツールのバージョンなど)
|
91
91
|
対象入力フィールド画像
|
92
|
-

|
93
93
|
|
10
画像修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -89,5 +89,5 @@
|
|
89
89
|
|
90
90
|
### 補足情報(FW/ツールのバージョンなど)
|
91
91
|
対象入力フィールド画像
|
92
|
-

|
93
93
|
|
9
説明修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
### 前提
|
2
2
|
Python 3.11.1
|
3
3
|
selenium 4.7.2
|
4
4
|
|
@@ -88,6 +88,6 @@
|
|
88
88
|
|
89
89
|
|
90
90
|
### 補足情報(FW/ツールのバージョンなど)
|
91
|
+
対象入力フィールド画像
|
92
|
+

|
91
93
|
|
92
|
-
ここにより詳細な情報を記載してください。
|
93
|
-
|
8
画像追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
### 前提
|
1
|
+
### 前提
|
2
2
|
Python 3.11.1
|
3
3
|
selenium 4.7.2
|
4
4
|
|
7
hoge
test
CHANGED
File without changes
|
test
CHANGED
@@ -59,7 +59,7 @@
|
|
59
59
|
```
|
60
60
|
|
61
61
|
### 試したこと
|
62
|
-
変数keyname1に設定した値が入力されず
|
62
|
+
変数keyname1に設定した値が入力されずエラーとなる
|
63
63
|
そこで14行目の代わりに下記の①〜⑤それぞれ試してみた
|
64
64
|
|
65
65
|
対象のclass名として下記の⑤つをそれぞれ試したが全て同様のエラーが発生
|
6
hoge
test
CHANGED
File without changes
|
test
CHANGED
@@ -4,14 +4,28 @@
|
|
4
4
|
|
5
5
|
### 実現したいこと
|
6
6
|
変数keyname1に設定した値をテキストフィールドに入力したいのですが出来ません。
|
7
|
-
特にエラーは何も発生しない状況です。
|
8
7
|
send_keysの使い方が誤っていますでしょうか。
|
9
8
|
入力対象はCLASS_NAMEと考えていますが、何かお気づきの方がいらっしゃいましたら
|
10
9
|
ご教授頂けないでしょうか。
|
11
10
|
宜しくお願い致します。
|
12
11
|
|
13
12
|
### 発生している問題・エラーメッセージ
|
14
|
-
|
13
|
+
```
|
14
|
+
Traceback (most recent call last):
|
15
|
+
File "/selenium_input.py", line 81, in <module>
|
16
|
+
driver.find_element(By.CLASS_NAME,"hoge-text-input").send_keys(keyname1)
|
17
|
+
File "/webelement.py", line 233, in send_keys
|
18
|
+
self._execute(
|
19
|
+
File "/webelement.py", line 410, in _execute
|
20
|
+
return self._parent.execute(command, params)
|
21
|
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
22
|
+
File "/webdriver.py", line 444, in execute
|
23
|
+
self.error_handler.check_response(response)
|
24
|
+
File "/errorhandler.py", line 249, in check_response
|
25
|
+
raise exception_class(message, screen, stacktrace)
|
26
|
+
selenium.common.exceptions.ElementNotInteractableException: Message: element not interactable
|
27
|
+
(Session info: chrome=108.0.5359.124)
|
28
|
+
```
|
15
29
|
|
16
30
|
### 該当のソースコード
|
17
31
|
|
5
hoge
test
CHANGED
File without changes
|
test
CHANGED
@@ -6,7 +6,8 @@
|
|
6
6
|
変数keyname1に設定した値をテキストフィールドに入力したいのですが出来ません。
|
7
7
|
特にエラーは何も発生しない状況です。
|
8
8
|
send_keysの使い方が誤っていますでしょうか。
|
9
|
-
入力対象はCLASS_NAMEと考えていますが、何かお気づきの方がいらっしゃいましたら
|
9
|
+
入力対象はCLASS_NAMEと考えていますが、何かお気づきの方がいらっしゃいましたら
|
10
|
+
ご教授頂けないでしょうか。
|
10
11
|
宜しくお願い致します。
|
11
12
|
|
12
13
|
### 発生している問題・エラーメッセージ
|
4
hoge
test
CHANGED
File without changes
|
test
CHANGED
@@ -3,8 +3,8 @@
|
|
3
3
|
selenium 4.7.2
|
4
4
|
|
5
5
|
### 実現したいこと
|
6
|
-
変数keyname1に設定した値をテキストフィールドに入力したいが出来ません。
|
6
|
+
変数keyname1に設定した値をテキストフィールドに入力したいのですが出来ません。
|
7
|
-
特にエラーは何も発生し
|
7
|
+
特にエラーは何も発生しない状況です。
|
8
8
|
send_keysの使い方が誤っていますでしょうか。
|
9
9
|
入力対象はCLASS_NAMEと考えていますが、何かお気づきの方がいらっしゃいましたらご教授頂けないでしょうか。
|
10
10
|
宜しくお願い致します。
|
3
hoge
test
CHANGED
File without changes
|
test
CHANGED
@@ -57,7 +57,7 @@
|
|
57
57
|
上記①〜⑤を試したが全て同様に下記のエラー
|
58
58
|
|
59
59
|
Traceback (most recent call last):
|
60
|
-
File "/selenium_
|
60
|
+
File "/selenium_input.py", line 81, in <module>
|
61
61
|
driver.find_element(By.CLASS_NAME,"①〜⑤のクラス名").send_keys(keyname1)
|
62
62
|
File "/webelement.py", line 233, in send_keys
|
63
63
|
self._execute(
|
2
hoge
test
CHANGED
File without changes
|
test
CHANGED
File without changes
|
1
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -34,7 +34,7 @@
|
|
34
34
|
■対象のhtml
|
35
35
|
```
|
36
36
|
<div class="hoge-hoge-select">
|
37
|
-
<ul class="hoge-tag__wrapper"> <
|
37
|
+
<ul class="hoge-tag__wrapper"> </ul>
|
38
38
|
<div class="hoge-hoge-select__filter">
|
39
39
|
<dl class="hoge-hoge-select__filter-head">
|
40
40
|
<dt class="hoge-hoge-select__filter-name">
|