What is the difference between "GET" and "NAVIGATE in Protractor?
Question
What is the difference between “GET” and “NAVIGATE in Protractor?
Answer
Get: Get method is used to navigate to the given destination. browser.get(""https://www.softwaretestingmaterial.com"");
Navigate: Navigate method is used to navigate to the given destination browser.navigate()
if we want to load a previous page or next page in a browser we can use back and forward.
browser.navigate().back(); browser.navigate().forward();