Skip to content

Commit

Permalink
Update test1.js
Browse files Browse the repository at this point in the history
  • Loading branch information
pili-book authored Jul 12, 2024
1 parent 48c285e commit 36dafdf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test1.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const init = async () => {
const page = await browser.newPage();
// 跳转到相应的网站
await page.goto('https://www.zoho.com/mail/');

await page.waitForSelector('.header > #header > .zgh-utilities > .zgh-accounts > .zgh-login')
await page.click('.header > #header > .zgh-utilities > .zgh-accounts > .zgh-login')
// 关闭浏览器
await browser.close();

0 comments on commit 36dafdf

Please sign in to comment.