Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

browser.driver.get('/') does not prepend baseUrl before executing command #508

Closed
@lavinjj

Description

@lavinjj

If you have a baseUrl set up in the configuration such as baseUrl = 'http://localhost:9090'; and you try to navigate to a page that does not have AngularJS running on it with browser.driver.get('/'); Selenium throws the following exception:

UnknownError: unknown error: unhandled inspector error: {"code":-32603,"message":"Cannot navigate to invalid URL"}

However, if you navigate to the same page with browser.driver.get(browser.baseUrl + '/'); WebdriverJS is able to navigate tot he page properly without issue.

Shouldn't the baseUrl configuration option work in both cases?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions