MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / current_url

Method current_url

py/selenium/webdriver/remote/webdriver.py:636–638  ·  view source on GitHub ↗

Gets the URL of the current page.

(self)

Source from the content-addressed store, hash-verified

634
635 @property
636 def current_url(self) -> str:
637 """Gets the URL of the current page."""
638 return self.execute(Command.GET_CURRENT_URL)["value"]
639
640 @property
641 def page_source(self) -> str:

Callers

nothing calls this directly

Calls 1

executeMethod · 0.95

Tested by

no test coverage detected