{"id":22693319,"url":"https://github.com/softvisio-node/playwright","last_synced_at":"2025-04-13T00:11:22.338Z","repository":{"id":40569034,"uuid":"373386503","full_name":"softvisio-node/playwright","owner":"softvisio-node","description":"Playwright wrapper","archived":false,"fork":false,"pushed_at":"2025-03-26T01:48:24.000Z","size":311,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T01:51:05.804Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://softvisio-node.github.io/playwright/","language":"JavaScript","has_issues":true,"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/softvisio-node.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2021-06-03T05:02:47.000Z","updated_at":"2025-03-26T01:48:28.000Z","dependencies_parsed_at":"2024-04-15T22:35:48.900Z","dependency_job_id":"267b1c6d-8e72-4eee-b022-3a4a81aad789","html_url":"https://github.com/softvisio-node/playwright","commit_stats":null,"previous_names":[],"tags_count":120,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softvisio-node%2Fplaywright","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softvisio-node%2Fplaywright/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softvisio-node%2Fplaywright/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softvisio-node%2Fplaywright/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/softvisio-node","download_url":"https://codeload.github.com/softvisio-node/playwright/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248647296,"owners_count":21139086,"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":[],"created_at":"2024-12-10T02:10:08.258Z","updated_at":"2025-04-13T00:11:22.329Z","avatar_url":"https://github.com/softvisio-node.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- !!! DO NOT EDIT, THIS FILE IS GENERATED AUTOMATICALLY !!!  --\u003e\n\n\u003e :information_source: Please, see the full project documentation here:\u003cbr\u003e\u003chttps://softvisio-node.github.io/playwright/\u003e\n\n# Introduction\n\nProvides set of patches and extensions for `playwright`.\n\nYou can find original playwright API documentation [here](https://playwright.dev/docs/api/class-playwright/).\n\n## Install\n\n```sh\nnpm install @softvisio/playwright\n```\n\nIt doesn't installs any browsers by default, so if you need `chromiun` you need to install it manually:\n\n```sh\nnpx playwright install chromium\n```\n\n## Usage\n\n```javascript\nimport playwright from \"@softvisio/playwright\";\n```\n\n## Class: BrowserType\n\nPatch for the original BrowserType class. Adds following changes:\n\n- `headless` By default under `windows` headless is set to the `false` for other platforms to the `true`.\n- `executablePath` By default for `linux` platform is set to the `\"/usr/bin/google-chrome-stable\"`.\n- `proxy` By default adds proxy server loopback that bypass all requests. It can be overridden in the browser contexts.\n\n## Class: Browser\n\n### browser.isHeadless\n\n- Returns: {boolean} `true` if browser started in the `headless` mode.\n\n### browser.newContext( options )\n\n- `options` {Object} New context options. Below are enumerated only the changes for the original API method:\n    - `stealth` {boolean} Enables various stealth mode extensions, which helps to hide `headless` mode. **Default:** `true`.\n    - `proxy` {string|ProxyClient|Object} Added support for {ProxyClient}. If {string} is provided it will be passed to the {ProxyClient} constructor as URL.\n\n## Class: Page\n\n### page.imagesIsDisabled\n\n- Returns: {boolean} `true` if images is currently disabled.\n\n### page.disableImages()\n\nSets `route` filter, which filters out images requests.\n\n## Resources\n\n\u003chttps://httpbin.org/user-agent\u003e\n\n\u003chttp://www.ip-score.com\u003e\n\n\u003chttps://arh.antoinevastel.com/bots/areyouheadless\u003e\n\n\u003chttps://bot.sannysoft.com\u003e\n\n\u003chttps://antoinevastel.com/bots/\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftvisio-node%2Fplaywright","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoftvisio-node%2Fplaywright","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftvisio-node%2Fplaywright/lists"}