The command to get the current page's title.
py.title() -> str
py.title()
py.title
None
str - The document.title property of the current page
document.title
assert py.title() == "QA at the Point"
Last updated 3 years ago