質問編集履歴
1
ソースコード追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -30,9 +30,23 @@
|
|
30
30
|
|
31
31
|
|
32
32
|
|
33
|
-
```
|
33
|
+
```python
|
34
34
|
|
35
|
+
print(driver.current_url)
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
handle_array = driver.window_handles
|
40
|
+
|
35
|
-
|
41
|
+
print(handle_array[0])
|
42
|
+
|
43
|
+
print(handle_array[1])
|
44
|
+
|
45
|
+
driver.switch_to.window(handle_array[1])#ここが機能していない!!
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
print(driver.current_url)
|
36
50
|
|
37
51
|
```
|
38
52
|
|