1. Add the following line of code to close the browser window at the end of your test:
2. Click ‘Run All’ in the test explorer window.
Outcome: The test runs successfully – the browser opens and navigates to google.com, enters ‘This is a google search’ and clicks the search button. The browser then closes the window.
Click next to continue…