Complete the code to navigate back to the previous page.
driver.navigate().[1]();The back() method navigates the browser to the previous page in history.
Complete the code to refresh the current page.
driver.navigate().[1]();The refresh() method reloads the current page in the browser.
Fix the error in the code to navigate forward to the next page.
driver.navigate().[1]();The forward() method moves the browser to the next page in history.
Fill both blanks to navigate to a new URL and then refresh the page.
driver.navigate().[1]("https://example.com"); driver.navigate().[2]();
The to() method navigates to a specified URL, and refresh() reloads the current page.
Fill all three blanks to navigate to a URL, go back, then forward.
driver.navigate().[1]("https://openai.com"); driver.navigate().[2](); driver.navigate().[3]();
First, navigate to the URL with to(), then go back with back(), and finally forward with forward().
