unreachable browser exception


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


Default Asked on February 11, 2016 in Selenium WebDriver.
Add Comment
  • 2 Answer(s)

    Hi Ashok,
    Below are following reasons.

    1)The browser may be closed by your script before you try to perform an action in DOM.
    2)selenium server and browser version is not compatible.

    Please paste your code so that I can suggest you.

    Default Answered on February 12, 2016.
    Add Comment

    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.