-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Loading of different URLs w/ PageObjects fails #1034
Comments
I'm having this same issue with dynamic URLs. |
The way its implemented now is that urls are evaluated at page object creation, not at time of navigate. Re-defining the value of url in the middle of the test will not alter the outcome of the url and will instead fail due to the fact that the value of url at that point is expected to be a string (resolved from string or function on creation) rather than a function. |
I think there might be an unexpected behavior when one attempts to load different URLs with a Page-Object. Please see the following two examples.
I could not find a way to update the
url
property of a page-object.@beatfactor maybe you can shed some light ?
regards
~david
The text was updated successfully, but these errors were encountered: