質問編集履歴
2
状況の詳細を追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -14,8 +14,10 @@
|
|
14
14
|
from chrome not reachable
|
15
15
|
|
16
16
|
**<試行錯誤したこと>**
|
17
|
-
netstat -ab
|
17
|
+
netstat -abをした結果chromeのIPは"192.1**.15*.**"という数字だったので、
|
18
|
-
python側のコードを改変した。
|
18
|
+
python側のコードを下記のように改変したが同様のエラーがでた。
|
19
|
-
options.add_experimental_option("debuggerAddress","
|
19
|
+
options.add_experimental_option("debuggerAddress","192.1**.15*.**:9555")
|
20
20
|
|
21
|
+
**<おかしな点>**
|
21
|
-
|
22
|
+
ショートカットからchromeを起動してコマンドプロンプトで9555ポートの使用状況を見ても何もヒットしない。
|
23
|
+
netstat -ano | find "9555"
|
1
出力エラー内容が古い状態のものだった
title
CHANGED
File without changes
|
body
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
driver = webdriver.Chrome(executable_path = 'C:\Program Files\chromedriver_win32\chromedriver.exe',options=options)
|
11
11
|
**<結果>**
|
12
12
|
以下のエラーが出力されます。
|
13
|
-
WebDriverException: Message: unknown error: cannot connect to chrome at 127.0.0.1:
|
13
|
+
WebDriverException: Message: unknown error: cannot connect to chrome at 127.0.0.1:9555
|
14
14
|
from chrome not reachable
|
15
15
|
|
16
16
|
**<試行錯誤したこと>**
|