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

Feat: user defined user agent #115

Merged
merged 9 commits into from
Dec 13, 2024

Conversation

chaosharmonic
Copy link
Contributor

What it sounds like, more or less.

I'm still figuring out how exactly the page-level bindings work, and this could maybe use some new tests, but in the meantime here's a sketch of how I'm envisioning the browser-level handling

@chaosharmonic chaosharmonic force-pushed the user_defined_user_agent branch from 4bd6c6b to c28f914 Compare November 25, 2024 00:45
@chaosharmonic
Copy link
Contributor Author

This could possibly still use a page-level getUserAgent, particularly for tests, but I'm not sure how that would work exactly

@chaosharmonic chaosharmonic marked this pull request as ready for review November 26, 2024 21:36
src/page.ts Outdated Show resolved Hide resolved
src/browser.ts Outdated Show resolved Hide resolved
Copy link
Owner

@lino-levan lino-levan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks for the contribution!

@lino-levan lino-levan merged commit 0d225de into lino-levan:main Dec 13, 2024
3 checks passed
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.

2 participants