Browser interactions
Get browser information
Get title
You can read the current page title from the browser:
String title = driver.getTitle();
title = driver.title
driver.Title;
driver.title
let title = await driver.getTitle();
driver.title
Get current URL
You can read the current URL from the browser’s address bar using:
String url = driver.getCurrentUrl();
title = driver.current_url
driver.Url;
driver.current_url
let currentUrl = await driver.getCurrentUrl();
driver.currentUrl
Virtual Authenticator
A representation of the Web Authenticator model.
Last modified April 10, 2024: [Java] Move code sample to github [deploy site] (fb0774dc3f)