Skip to content

Commit

Permalink
fix: 修复错误的属性获取方法
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouyuan63 committed Jun 7, 2024
1 parent 741103f commit 9fcdeeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/exam/baseOpt.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const homePage = "https://4399.com" // 定义变量
await page.create(homePage) // 使用变量打开页面
await sleep(1000) // 固定等待
await page.to(`https://baidu.com`) // 切换页面
await assert.custom("#su","inputValue","百度一下",0) // 页面元素断言
await assert.custom("#su","innerText","百度一下",0) // 页面元素断言
await assert.location("https://www.baidu.com/") // 页面地址断言
await assert.title("百度一下,你就知道") // 页面title 断言
// 执行hover
Expand Down

0 comments on commit 9fcdeeb

Please sign in to comment.