Browser interactions

Get browser information

Get title

You can read the current page title from the browser:

Move Code

driver.title

Get current URL

You can read the current URL from the browser’s address bar using:

Move Code

driver.currentUrl