Reached error page: about:neterror when trying to navigate to other tabs if there is a form submit under that tab

This error message…

org.openqa.selenium.WebDriverException: Reached error page: about:neterror?e=connectionFailure&u=https%3A//192.168.1.20/network.cgi&c=UTF-8&f=regular&d=Firefox%20%E6%97%A0%E6%B3%95%E5%BB%BA%E7%AB%8B%E5%88%B0%20192.168.1.20%20%E6%9C%8D%E5%8A%A1%E5%99%A8%E7%9A%84%E8%BF%9E%E6%8E%A5%E3%80%82

…implies that there was a Network Error while initializing a WebDriver / Web Browsing session.

However, the main issue is, in case of these Network Errors for a valid and absolute URL it is expected for the WebDriver instance i.e. the driver to return a value of Success with a value of null, as per the updated Go Command Spec. WebDriver should return Error with error code unknown error.

This issue is still pending with Selenium Team through Issue#4475 which will be addressed by GeckoDriver Team through Issue#770 which depends on the Mozilla Issue ID#1312679

Leave a Comment