WebDriverException: Unable to find open page error, unknown error when using ChromeDriver 80.0.3987.106 and Chrome 80.0.3987.122
P粉950128819
2023-08-25 11:12:00
<p>My local Windows 10 computer automatically updated the Chrome version to 80.0.3987.122 (official version) (64-bit)</p>
<p>I am using https://chromedriver.storage.googleapis.com/80.0.3987.106/chromedriver_win32.zip</p>
<p>But now I get this error:</p>
<pre class="brush:php;toolbar:false;">Please protect the ports used by ChromeDriver and related test frameworks to prevent malicious code from accessing them.
org.openqa.selenium.WebDriverException: Unknown error: Unable to discover open page
Build information: Version: '3.141.59', Revision: 'e82be7d358', Time: '2018-11-14T08:17:03'
System Information: Hostname: 'WX-PC123456', IP Address: '192.168.56.1', OS: 'Windows 10', Architecture: 'amd64', Version: '10.0', Java Version: '1.8.0_211'
Driver information: Driver version: ChromeDriver
Remote stack trace: Backtrace:
Ordinal0 [0x013A0C83 1707139]
Ordinal0 [0x013068F1 1075441]
Ordinal0 [0x0127DFC9 516041]
Ordinal0 [0x012104C2 66754]
Ordinal0 [0x0120CCE2 52450]
Ordinal0 [0x0122BFD7 180183]
Ordinal0 [0x0122BDDD 179677]
Ordinal0 [0x01229D4B 171339]
Ordinal0 [0x01211D4A 73034]
Ordinal0 [0x01212DC0 77248]
Ordinal0 [0x01212D59 77145]
Ordinal0 [0x0131BB67 1162087]
GetHandleVerifier [0x0143A966 508998]
GetHandleVerifier [0x0143A6A4 508292]
GetHandleVerifier [0x0144F7B7 594583]
GetHandleVerifier [0x0143B1D6 511158]
Ordinal0 [0x0131402C 1130540]
Ordinal0 [0x0131D4CB 1168587]
Ordinal0 [0x0131D633 1168947]
Ordinal0 [0x01335B35 1268533]
BaseThreadInitThunk [0x757E8674 36]
RtlGetAppContainerNamedObjectPath [0x77475E17 311]
RtlGetAppContainerNamedObjectPath [0x77475DE7 263]</pre>
<p>How to solve this problem? </p>
If you are using
Try to change the port number. The port number currently used may be occupied.
This error message...
...means ChromeDriver cannot initialize/generate a new browsing context, i.e. Chrome Browser session.
It seems that the problem lies in the security feature of ChromeDriver, namely sandboxing. To bypass this feature, you can use the following parameters:
So your valid code block would be:
Java
Python