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
Description
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
Labels
No labels