From which place Selenium Webdriver usually gets title - using driver.title
?
title returns the title of the current page.
Usage:
title = driver.title
Defination:
def title(self): """Returns the title of the current page. :Usage: title = driver.title """ resp = self.execute(Command.GET_TITLE)
Details: When you invoke driver.title
the HTTP GET request is invoked through the /session/{session id}/title
URI Template .
NOTE : This command returns the document title of the current top-level browsing context, equivalent to calling
document.title
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.