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

PLAYWRIGHT 默认开启无痕 #244

Open
jf888123 opened this issue Dec 19, 2023 · 2 comments
Open

PLAYWRIGHT 默认开启无痕 #244

jf888123 opened this issue Dec 19, 2023 · 2 comments

Comments

@jf888123
Copy link

jf888123 commented Dec 19, 2023

请问在哪里可以关闭

@pro2333
Copy link

pro2333 commented Dec 22, 2023

解决了吗?我也找几天了。

@javaswing
Copy link

浏览器初始时的配置在这里,根据代码好像没有支持设置

[[ args=["--no-sandbox"],](https://github.com/Boris-code/feapder/blob/c88617752b6e4ad231fedc5a1dffd95b37ed61c4/feapder/utils/webdriver/playwright_driver.py#L97)](

self.driver = sync_playwright().start()
self.browser = getattr(self.driver, self._driver_type).launch(
headless=self._headless,
args=["--no-sandbox"],
proxy=proxy,
executable_path=self._executable_path,
downloads_path=self._download_path,
)
)

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

3 participants