How do I get current URL in Selenium Webdriver 2 Python?

0
0

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.

  • You must to post comments
0
0

Use current_url element. Example:

print browser.current_url
  • You must to post comments
Showing 1 result
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Website