回答編集履歴
2
参考を追加
test
CHANGED
@@ -4,3 +4,6 @@
|
|
4
4
|
service = ChromeService(executable_path=new_driver)
|
5
5
|
browser = webdriver.Chrome(service=service, options=options)
|
6
6
|
にしたらどうなりますか?
|
7
|
+
|
8
|
+
(参考)
|
9
|
+
https://qiita.com/Brutus/items/1998249c0a38c334be8e
|
1
修正
test
CHANGED
@@ -1,4 +1,6 @@
|
|
1
|
-
webdriver.Chrome(ChromeDriverManager().install())
|
1
|
+
browser = webdriver.Chrome(ChromeDriverManager().install())
|
2
2
|
↓
|
3
|
-
w
|
3
|
+
new_driver = ChromeDriverManager().install()
|
4
|
+
service = ChromeService(executable_path=new_driver)
|
5
|
+
browser = webdriver.Chrome(service=service, options=options)
|
4
6
|
にしたらどうなりますか?
|