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

[Bug]: The timeout error encountering when trying to take a screenshot with extended args for chromium --disable-blink-features=AutomationControlled #30892

Closed
mhersim opened this issue May 17, 2024 · 1 comment

Comments

@mhersim
Copy link

mhersim commented May 17, 2024

Version

0.4.4

Steps to reproduce

Create a simple script to login to gmail with args
args = ['--disable-blink-features=AutomationControlled']
sign in and after user is signed in call command in script
page.screenshot()

Expected behavior

screenshot taken successfully

Actual behavior

E playwright._impl._errors.TimeoutError: Page.screenshot: Timeout 30000ms exceeded.
E Call log:
E taking page screenshot
E - waiting for fonts to load...

Additional context

No response

Environment

- Operating System: [macOS 13.0]
- Chip: [Apple M2 Pro]
- Browser: [Chromium]
- Python Version: [3.12.3]
- Other info:
@mxschmitt mxschmitt transferred this issue from microsoft/playwright-python May 18, 2024
@pavelfeldman
Copy link
Member

We don't support use cases where Chrome is getting additional command line flags passed. These are at your own risk.

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

2 participants