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

建议web测试增加浏览器窗口大小控制及运行结束后是否关闭浏览器设置 #89

Closed
Rickgao123456 opened this issue Aug 8, 2022 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@Rickgao123456
Copy link

建议web测试增加浏览器窗口大小控制及运行结束后是否关闭浏览器设置

@clgwlg clgwlg added the enhancement New feature or request label Aug 9, 2022
@clgwlg
Copy link
Contributor

clgwlg commented Aug 9, 2022

支持 Browser Context 以下属性可配置:PlayWright API

  1. viewport
  2. user_agent
  3. locale
  4. timezone
  5. permissions
  6. Geolocation
  7. devices

@xiaoxiaocaiiao
Copy link
Collaborator

关闭浏览器可以用 debug来实现

@xiaoxiaocaiiao
Copy link
Collaborator

使用如下配置 控制浏览器:
"emulatedDevice": null,
"userAgent": null,
"width": null,
"height": null,
"locale": null,
"timezone": null,
"deviceScaleFactor": null,
"hasTouch": null,
"geolocation": null,
"permissions": null

@clgwlg
Copy link
Contributor

clgwlg commented Aug 14, 2022

v0.4.1 已支持以上Web参数

@clgwlg clgwlg closed this as completed Aug 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants