在使用playwright时访问有些网站出现证书相关问题,codegen启动就闪退。
playwright codegen --ignore-https-errors https://example.com
编写代码中可以加入以下代码
context = browser.new_context(ignore_https_errors=True)
在使用playwright时访问有些网站出现证书相关问题,codegen启动就闪退。
playwright codegen --ignore-https-errors https://example.com
编写代码中可以加入以下代码
context = browser.new_context(ignore_https_errors=True)