0 votes
in Selenium by
What is the difference between driver.get() and driver.navigate.to(“madanswer.com”)?

1 Answer

0 votes
by

The difference between the two is as follows:

driver.get(): To open a URL and have it wait for the entire page to load.

driver.navigate.to(): To navigate to a URL without having to wait for the entire page to load.

...