in Selenium by
How to fetch the current page URL in Selenium?

1 Answer

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

driver.getCurrentUrl();

1

driver.getCurrentUrl();
...