url
The command to get the current page's URL.
Syntax
py.url() -> str
Usage
py.url()
py.url
Arguments
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() -> str
py.url()
py.url
None
str - The current page's URL
assert py.url().endswith("/checkout")
Last updated