-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
Closed
Labels
A-needs-triagingA Selenium member will evaluate this soon!A Selenium member will evaluate this soon!G-chromedriverRequires fixes in ChromeDriverRequires fixes in ChromeDriverI-defectSomething is not working as intendedSomething is not working as intended
Description
What happened?
.NET
Upgraded to Chrome V133 and whenever I switch window or get driver.WindowHandles.Count, I get the below error
OpenQA.Selenium.WebDriverException: 'An unknown exception was encountered sending an HTTP request to the remote WebDriver server for URL http://localhost:56483/session/fa6f1ad1d57bb1ef5fc9060fd540420d/window/handles. The exception message was: No connection could be made because the target machine actively refused it. (localhost:56483)
Has been driving me crazy since Google forced the update on me. Have had to manually re-install V132 to work on and run automated tests.
How can we reproduce the issue?
.NET
Chrome V133
Selenium 4.29.0
Use these commands (after web driver declared and init)
`driver.WindowHandles.Count;`
or
`driver.SwitchTo().Window(driver.WindowHandles[0]);`Relevant log output
Last 10 or so lines in Output
`Exception thrown: 'OpenQA.Selenium.WebDriverTimeoutException' in WebDriver.dll
'testhost.exe' (CoreCLR: clrhost): Loaded 'C:\blank\blank\bin\Debug\net6.0\System.IdentityModel.Tokens.Jwt.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'testhost.exe' (CoreCLR: clrhost): Loaded 'C:\blank\blank\bin\Debug\net6.0\Microsoft.IdentityModel.Tokens.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'testhost.exe' (CoreCLR: clrhost): Loaded 'C:\blank\blank\bin\Debug\net6.0\Microsoft.IdentityModel.Logging.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'testhost.exe' (CoreCLR: clrhost): Loaded 'C:\blank\blank\bin\Debug\net6.0\Microsoft.IdentityModel.JsonWebTokens.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'testhost.exe' (CoreCLR: clrhost): Loaded 'C:\blank\blank\bin\Debug\net6.0\Microsoft.IdentityModel.Abstractions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Exception thrown: 'OpenQA.Selenium.WebDriverTimeoutException' in WebDriver.dll
The thread 22308 has exited with code 0 (0x0).
Exception thrown: 'OpenQA.Selenium.WebDriverException' in System.Private.CoreLib.dll
The thread '.NET ThreadPool Worker' (56408) has exited with code 0 (0x0).
Exception thrown: 'OpenQA.Selenium.WebDriverException' in System.Private.CoreLib.dll
The thread 24120 has exited with code 0 (0x0).
Exception thrown: 'OpenQA.Selenium.WebDriverException' in System.Private.CoreLib.dll
An exception of type 'OpenQA.Selenium.WebDriverException' occurred in System.Private.CoreLib.dll but was not handled in user code
An unknown exception was encountered sending an HTTP request to the remote WebDriver server for URL http://localhost:56483/session/fa6f1ad1d57bb1ef5fc9060fd540420d/window/handles. The exception message was: No connection could be made because the target machine actively refused it. (localhost:56483)`Operating System
Windows 11
Selenium version
4.29.0
What are the browser(s) and version(s) where you see this issue?
Chrome 133 (133.0.6943.127)
What are the browser driver(s) and version(s) where you see this issue?
Chromedriver 133.0.6943.126
Are you using Selenium Grid?
N/A
radoslav-boyadzhiev-syncplicity
Metadata
Metadata
Assignees
Labels
A-needs-triagingA Selenium member will evaluate this soon!A Selenium member will evaluate this soon!G-chromedriverRequires fixes in ChromeDriverRequires fixes in ChromeDriverI-defectSomething is not working as intendedSomething is not working as intended