質問編集履歴
2
誤字
test
CHANGED
File without changes
|
test
CHANGED
@@ -23,7 +23,7 @@
|
|
23
23
|
time.sleep(3)
|
24
24
|
|
25
25
|
#検索ボタンクリック
|
26
|
-
id_input=driver.find_element_by_xpath('#Xp
|
26
|
+
id_input=driver.find_element_by_xpath('#Xpath').click()
|
27
27
|
time.sleep(3)
|
28
28
|
|
29
29
|
```
|
1
検索ボタンクリックを追加。
test
CHANGED
File without changes
|
test
CHANGED
@@ -15,11 +15,17 @@
|
|
15
15
|
入力欄に日付は入るのですが値が反映されず、困っています。
|
16
16
|
|
17
17
|
```Python
|
18
|
+
#日付日時指定
|
18
19
|
driver.execute_script("document.querySelector('#css selecotr').value = '2022-02-01'")
|
19
20
|
time.sleep(3)
|
20
21
|
|
21
22
|
driver.execute_script("document.querySelector('#css selector').value = '00:00'")
|
22
23
|
time.sleep(3)
|
24
|
+
|
25
|
+
#検索ボタンクリック
|
26
|
+
id_input=driver.find_element_by_xpath('#Xpsth').click()
|
27
|
+
time.sleep(3)
|
28
|
+
|
23
29
|
```
|
24
30
|
|
25
31
|
![イメージ説明](https://ddjkaamml8q8x.cloudfront.net/questions/2022-05-18/196b2648-0f82-44d3-a790-b9b53e7afae9.png)
|