Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

baseUrl required for allowing relative host #32

Open
rodneyrehm opened this issue Apr 26, 2015 · 0 comments
Open

baseUrl required for allowing relative host #32

rodneyrehm opened this issue Apr 26, 2015 · 0 comments

Comments

@rodneyrehm
Copy link
Contributor

We need to allow relative URLs in order to transparently spin up a web server at a location undisclosed to the user (and test), as well as avoid having the user repeat the full url over and over again.

WebDriver has httpConfig (wd.configureHttp()) that looks like it might help. As far as I can tell it only resolves the URLs for wd.get() and does not reverse the effect for wd.url().

we likely need to patch this into browser.load and assert.url with the latter not really knowing the value, because it's contained in an expectation.

Node only knows url.resolve, but not the other way around…

@rodneyrehm rodneyrehm added this to the 0.0.1 - Plugins milestone Apr 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant