Hire QA – Specialized in QA Recruitment, Technical Interviews and Testing Solutions

What is the difference between driver.get() and driver.navigate.to(“url”)?

Category: Selenium WebDriver

driver.get(): To open an URL and it will wait till the whole page gets loaded
driver.navigate.to(): To navigate to an URL and It will not wait till the whole page gets loaded

Leave a Reply

Your email address will not be published. Required fields are marked *