回答編集履歴
1
ミス
test
CHANGED
@@ -6,6 +6,6 @@
|
|
6
6
|
|
7
7
|
def click(xpath):
|
8
8
|
|
9
|
-
driver.execute_script('document.evaluate(xpath, document, null, 7, null).snapshotItem(0).click();')
|
9
|
+
driver.execute_script('document.evaluate(' + xpath + ', document, null, 7, null).snapshotItem(0).click();')
|
10
10
|
|
11
11
|
```
|