Quantcast
Channel: User scio me nescire - Stack Overflow
Viewing all articles
Browse latest Browse all 38

How do I use relative paths with the webdriver.Navigate().GotoUrl()?

$
0
0

driver.Navigate().GoToUrl("/") sets the location to "/" instead of "http://www.domain.com/"

another example would be

driver.Navigate().GoToUrl("/view1") sets the location to "/view1" instead of "http://www.domain.com/view1"

Either example would cause the browser to return with address isn't valid.


Viewing all articles
Browse latest Browse all 38

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>