Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ai控制和页面定位控制混合使用的playwright测试报告 #404

Open
claywong opened this issue Feb 20, 2025 · 0 comments
Open

ai控制和页面定位控制混合使用的playwright测试报告 #404

claywong opened this issue Feb 20, 2025 · 0 comments

Comments

@claywong
Copy link

claywong commented Feb 20, 2025

我觉得midscene的报告比playwright的html报告好用,
我的代码中
await ai("点击立即登录") await page.getByRole("textbox", { name: "请输入集团ID" }).click();

在有一些比较复杂的控制里面,用ai控制总是定位不到,所以存在混合使用的情况,这种情况下,用midscene没有getByRole类似的控制的内容,能否加上这个需求,可以在midscene中看到

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant