{"id":17514072,"url":"https://github.com/rebrowser/rebrowser-puppeteer","last_synced_at":"2025-04-23T13:19:15.004Z","repository":{"id":258192329,"uuid":"858943039","full_name":"rebrowser/rebrowser-puppeteer","owner":"rebrowser","description":"A drop-in replacement for puppeteer patched with rebrowser-patches. It allows to pass modern automation detection tests.","archived":false,"fork":false,"pushed_at":"2024-12-10T19:59:25.000Z","size":415,"stargazers_count":20,"open_issues_count":0,"forks_count":5,"subscribers_count":0,"default_branch":"23.3.1","last_synced_at":"2025-04-23T13:19:09.717Z","etag":null,"topics":["automation","bot","bot-detection","captcha","chrome","headless","puppeteer","rebrowser","rebrowser-patches","scraping","web-scraping"],"latest_commit_sha":null,"homepage":"https://github.com/rebrowser/rebrowser-patches","language":null,"has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rebrowser.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-17T19:55:29.000Z","updated_at":"2025-04-14T20:29:36.000Z","dependencies_parsed_at":"2024-10-18T00:27:27.623Z","dependency_job_id":"a9c68961-144e-431e-a4b4-4f97e024626f","html_url":"https://github.com/rebrowser/rebrowser-puppeteer","commit_stats":null,"previous_names":["rebrowser/rebrowser-puppeteer"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rebrowser%2Frebrowser-puppeteer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rebrowser%2Frebrowser-puppeteer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rebrowser%2Frebrowser-puppeteer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rebrowser%2Frebrowser-puppeteer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rebrowser","download_url":"https://codeload.github.com/rebrowser/rebrowser-puppeteer/tar.gz/refs/heads/23.3.1","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250439295,"owners_count":21430824,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","bot","bot-detection","captcha","chrome","headless","puppeteer","rebrowser","rebrowser-patches","scraping","web-scraping"],"created_at":"2024-10-20T07:07:44.663Z","updated_at":"2025-04-23T13:19:14.985Z","avatar_url":"https://github.com/rebrowser.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# rebrowser-puppeteer\n\u003e ⚠️ This is the original [`puppeteer`](https://www.npmjs.com/package/puppeteer) patched with [`rebrowser-patches`](https://github.com/rebrowser/rebrowser-patches).\n\u003e\n\u003e 🕵️ The ultimate goal is to pass all automation detection tests presented in [`rebrowser-bot-detector`](https://github.com/rebrowser/rebrowser-bot-detector).\n\u003e\n\u003e 🪄 It's designed to be a drop-in replacement for the original `puppeteer` without changing your codebase. Each major and minor version of this repo matches the original repo, patch version could differ due to changes related to the patch itself.\n\u003e\n\u003e ☝️ Make sure to read: [How to Access Main Context Objects from Isolated Context](https://rebrowser.net/blog/how-to-access-main-context-objects-from-isolated-context-in-puppeteer-and-playwright-23741)\n\u003e\n\u003e 🐛 Please report any issues in the [`rebrowser-patches`](https://github.com/rebrowser/rebrowser-patches/issues) repo.\n\n# Puppeteer\n\n[![build](https://github.com/puppeteer/puppeteer/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/puppeteer/puppeteer/actions/workflows/ci.yml)\n[![npm puppeteer package](https://img.shields.io/npm/v/puppeteer.svg)](https://npmjs.org/package/puppeteer)\n\n\u003cimg src=\"https://user-images.githubusercontent.com/10379601/29446482-04f7036a-841f-11e7-9872-91d1fc2ea683.png\" height=\"200\" align=\"right\"/\u003e\n\n\u003e Puppeteer is a JavaScript library which provides a high-level API to control\n\u003e Chrome or Firefox over the\n\u003e [DevTools Protocol](https://chromedevtools.github.io/devtools-protocol/) or [WebDriver BiDi](https://pptr.dev/webdriver-bidi).\n\u003e Puppeteer runs in the headless (no visible UI) by default\n\n## [Get started](https://pptr.dev/docs) | [API](https://pptr.dev/api) | [FAQ](https://pptr.dev/faq) | [Contributing](https://pptr.dev/contributing) | [Troubleshooting](https://pptr.dev/troubleshooting)\n\n## Installation\n\n```bash npm2yarn\nnpm i puppeteer # Downloads compatible Chrome during installation.\nnpm i puppeteer-core # Alternatively, install as a library, without downloading Chrome.\n```\n\n## Example\n\n```ts\nimport puppeteer from 'puppeteer';\n// Or import puppeteer from 'puppeteer-core';\n\n// Launch the browser and open a new blank page\nconst browser = await puppeteer.launch();\nconst page = await browser.newPage();\n\n// Navigate the page to a URL.\nawait page.goto('https://developer.chrome.com/');\n\n// Set screen size.\nawait page.setViewport({width: 1080, height: 1024});\n\n// Type into search box.\nawait page.locator('.devsite-search-field').fill('automate beyond recorder');\n\n// Wait and click on first result.\nawait page.locator('.devsite-result-item-link').click();\n\n// Locate the full title with a unique string.\nconst textSelector = await page\n  .locator('text/Customize and automate')\n  .waitHandle();\nconst fullTitle = await textSelector?.evaluate(el =\u003e el.textContent);\n\n// Print the full title.\nconsole.log('The title of this blog post is \"%s\".', fullTitle);\n\nawait browser.close();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frebrowser%2Frebrowser-puppeteer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frebrowser%2Frebrowser-puppeteer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frebrowser%2Frebrowser-puppeteer/lists"}