wkeeling / selenium-wire

Extends Selenium's Python bindings to give you the ability to inspect requests made by the browser.
MIT License
1.9k stars 251 forks source link

Facing error "This version of ChromeDriver only supports Chrome version 111" #660

Closed 64chevy closed 1 year ago

64chevy commented 1 year ago
selenium.common.exceptions.WebDriverException: Message: unknown error: cannot connect to chrome at 127.0.0.1:63241
from session not created: This version of ChromeDriver only supports Chrome version 111
Current browser version is 110.0.5481.177
Stacktrace:
Backtrace:
        (No symbol) [0x00CCDCE3]
        (No symbol) [0x00C639D1]
        (No symbol) [0x00B74DA8]
        (No symbol) [0x00B94F6C]
        (No symbol) [0x00B8EE51]
        (No symbol) [0x00B8EC31]
        (No symbol) [0x00BC15AE]
        (No symbol) [0x00BC129C]
        (No symbol) [0x00BBACC6]
        (No symbol) [0x00B96F68]
        (No symbol) [0x00B980CD]
        GetHandleVerifier [0x00F43832+2506274]
        GetHandleVerifier [0x00F79794+2727300]
        GetHandleVerifier [0x00F7E36C+2746716]
        GetHandleVerifier [0x00D76690+617600]
        (No symbol) [0x00C6C712]
        (No symbol) [0x00C71FF8]
        (No symbol) [0x00C720DB]
        (No symbol) [0x00C7C63B]
        BaseThreadInitThunk [0x7569FEF9+25]
        RtlGetAppContainerNamedObjectPath [0x77117BBE+286]
        RtlGetAppContainerNamedObjectPath [0x77117B8E+238]

I installed the latest chromium and still getting this error. Anyway to fix it?

PatrickVdWillik commented 1 year ago

This error is unrelated to Selenium-wire aand is most likedly caused by your selenium driver referencing the incorrect binary.

Try restarting your application, if that doesn't work, try restarting the terminal from which you are running your application. I was presented with this error in the last few days too and restarting my app/terminal resolved the issue. Alternatively, if you installed the lastest chromium in a custom location, use the Options to specify where.

calebTree commented 1 year ago

Yes, not related to selenium-wire. One must choose the correct browser driver or not specify one at all i.e. driver = webdriver.Chrome() which should pick up the first/best available driver.

64chevy commented 1 year ago

Solved