url
The command to get the current page's URL.
Syntax
py.url() -> strUsage
py.url()py.urlArguments
None
Yields
str - The current page's URL
Examples
assert py.url().endswith("/checkout")Last updated
The command to get the current page's URL.
py.url() -> strpy.url()py.urlNone
str - The current page's URL
assert py.url().endswith("/checkout")Last updated