跳至主要內容
版本:23.11.1

Page.title() 方法

頁面的標題

簽名

class Page {
title(): Promise<string>;
}

回傳

Promise<string>

備註

page.mainFrame().title() 的快捷方式。