Page.title() 方法 页面的标题 签名 class Page { title(): Promise<string>; } 返回值: Promise<string> 备注 是 page.mainFrame().title() 的快捷方式。