java selenium driver.navigate code example
Example: driver navigate to method in selenium
If you use this method for opening URL, it will wait until the page has
fully loaded, that means every element in the page gets loaded before
returning control to your test or script. It only opens the url, but
driver.navigateto() interface also exposes the ability to move
backwards and forwards in browser’s history.