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

Add init script for Playwright browser context #549

Open
vdusek opened this issue Sep 27, 2024 · 0 comments · May be fixed by #829
Open

Add init script for Playwright browser context #549

vdusek opened this issue Sep 27, 2024 · 0 comments · May be fixed by #829
Assignees
Labels
enhancement New feature or request. product roadmap Issues synchronized to product roadmap. t-tooling Issues with this label are in the ownership of the tooling team.

Comments

@vdusek
Copy link
Collaborator

vdusek commented Sep 27, 2024

  • For now, let's use a data file containing fingerprints (or at minimum user agents) from the Apify fingerprint dataset.
  • Use the init script from the fingerprint suite.
  • A fingerprint, selected based on parameters such as OS or browser type, should be passed to the init script.
  • Load the JS init script from a file and convert it into a string for injection.
  • Inject the script into the Playwright browser context using BrowserContext.add_init_scripts().
  • Possible inspiration:
@vdusek vdusek added enhancement New feature or request. t-tooling Issues with this label are in the ownership of the tooling team. labels Sep 27, 2024
@vdusek vdusek self-assigned this Sep 27, 2024
@vdusek vdusek added this to the 100th sprint - Tooling team milestone Oct 7, 2024
@mtrunkat mtrunkat added the product roadmap Issues synchronized to product roadmap. label Nov 29, 2024
@vdusek vdusek removed this from the 103rd sprint - Tooling team milestone Dec 13, 2024
@vdusek vdusek assigned vdusek and unassigned vdusek Dec 13, 2024
@Pijukatel Pijukatel linked a pull request Dec 18, 2024 that will close this issue
@vdusek vdusek assigned Pijukatel and unassigned vdusek Jan 10, 2025
@vdusek vdusek added this to the 105th sprint - Tooling team milestone Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request. product roadmap Issues synchronized to product roadmap. t-tooling Issues with this label are in the ownership of the tooling team.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants