Back
I'm trying to get the current url after a series of navigations in Selenium. I know there's a command called getLocation for ruby, but I can't find the syntax for Python.
Please visit this documentation for reference:
driver.current_url
And new documentation contain it to https://seleniumhq.github.io/docs/site/en/webdriver/browser_manipulation/#get-current-url
If you are interested to learn Selenium on a much deeper level and want to become a professional in the testing domain, check out Intellipaat’s automation testing course online!
31k questions
32.8k answers
501 comments
693 users