RE: unreachable browser exception

Hi,

I am getting “UnReachableBrowserException”.Can anybody explain me the reason behind it and how to┬áhandle this exception.

Regards
Ashok

mosquito Default Asked on February 11, 2016 in Selenium WebDriver.
Add Comment
2 Answers

Reason may be any of the following:

1) Maybe the browser that your script is pointing out doesn’t exist.
2) You have multiple windows and you need to pass the control to the specified window by using  driver.switchTo() method.
3) Your internet speed is very low or your internet connection has been disconnected.
4) The link that your script had clicked may have opened new window and the control is still on current window. In that case you get Unreachable browser exception. If try to perform any action on unreachable browser you will get NosuchElement Exception.

Hope my answer helps.

Default Answered on March 7, 2016.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.