1 Answer

0 votes
by
To fetch the current page URL, we use getCurrentURL()

driver.getCurrentUrl();

1

driver.getCurrentUrl();
...