updated skills
This commit is contained in:
@@ -112,11 +112,11 @@ loaded and resolves the extension's runtime ID.
|
||||
- `options.userDataDir` — absolute path to the persistent browser
|
||||
profile directory; must be writable and unique per concurrent test
|
||||
run
|
||||
- `options.launchPersistentContext` — *optional* launcher override.
|
||||
- `options.launchPersistentContext` — _optional_ launcher override.
|
||||
Defaults to `cloakbrowser.launchPersistentContext` (loaded
|
||||
lazily via dynamic `import`). Tests inject a spy here; adapters
|
||||
inject a profile-manager-backed launcher
|
||||
- `options.launchOptions` — *optional* extra options forwarded
|
||||
- `options.launchOptions` — _optional_ extra options forwarded
|
||||
unchanged to the launcher. Use this to set `proxy`, `humanize`,
|
||||
`geoip`, `timezone`, `locale`, or any other cloakbrowser
|
||||
`LaunchPersistentContextOptions` field
|
||||
|
||||
@@ -122,10 +122,10 @@ await browser.close();
|
||||
|
||||
A Playwright `test` function extended with the following fixtures:
|
||||
|
||||
- `browser: Browser` *(worker, overridden)* — stealth Chromium launched
|
||||
- `browser: Browser` _(worker, overridden)_ — stealth Chromium launched
|
||||
via `cloakbrowser.launch`. Cleanup (`browser.close()`) runs once per
|
||||
worker
|
||||
- `cloak: CloakOptions` *(worker option)* — options forwarded to
|
||||
- `cloak: CloakOptions` _(worker option)_ — options forwarded to
|
||||
`cloakbrowser.launch`. Default `{ headless: true }`
|
||||
- `apiContext: APIRequestContext` — fresh per test, browser-free
|
||||
- `freshPage: Page` — fresh context + page per test
|
||||
|
||||
Reference in New Issue
Block a user