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.
Use current_url element. Example:
According to documentation (a place full of goodies:)):
And new documentation contain it to: https://seleniumhq.github.io/docs/site/en/webdriver/browser_manipulation/#get-current-url