sidebar: currentPage title: smartProgram.currentPage header: develop nav: devtools sidebar: currentPage解释:获取当前页面。 smartProgram.currentPage(): Promise<Page> 示例代码: automator.launch().then(async smartProgram => { await smartProgram.currentPage();});