Skip to content

(very) simple bug fix for screenshot method #106

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

Merged
merged 2 commits into from
Jun 23, 2025

Conversation

guyvandam
Copy link
Contributor

@guyvandam guyvandam commented Jun 20, 2025

unpack the input options as the base playwright screenshot method accepts keyword arguments only

why

can't use the screenshot function bc of this bug when on local env

what changed

simple unpacking for arguments to comply to base playwright screenshot method that accepts keyword arguments only

https://github.com/microsoft/playwright-python/blob/0ff7fc983ef39ed6121ffbac4eaf15e9b02a6aba/playwright/async_api/_generated.py#L2768

test plan

regular (?)

unpack the input options as the base playwright screenshot method accepts keyword arguments only
@miguelg719
Copy link
Collaborator

Hey @guyvandam ! Thanks for the contrib, we're just making sure we fix the issues in CI before merging 🙏 💯

@filip-michalsky filip-michalsky merged commit 782f683 into browserbase:main Jun 23, 2025
35 of 38 checks passed
@filip-michalsky
Copy link
Collaborator

@guyvandam thanks a lot for the contribution!

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

Successfully merging this pull request may close these issues.

3 participants