Playwright · Method
page.title
page.title() returns the current page's document title as a string. It takes no arguments.
Last updated
- Since
- before v1.9
Syntax
page.title()In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
Pagegotowait_for_load_statetitle