asked 11 months ago
To get the current URL of the webpage, we can use getCurrentUrl() function in the Selenium Webdriver
Example: