回答編集履歴
1
追記
test
CHANGED
@@ -3,3 +3,21 @@
|
|
3
3
|
check = driver.find_element_by_id("iAcceptCheckbox")
|
4
4
|
|
5
5
|
```
|
6
|
+
|
7
|
+
|
8
|
+
|
9
|
+
若しくは
|
10
|
+
|
11
|
+
```Python
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
check = driver.find_element_by_id("iAcceptCheckbox")
|
16
|
+
|
17
|
+
#check = driver.find_element_by_class_name("checkbox")
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
driver.execute_script("arguments[0].click();",check)
|
22
|
+
|
23
|
+
```
|