allcaptcha-playwright
v1.0.4
Published
allcaptcha.ru/allcaptcha.com
Maintainers
Keywords
Readme
NPM package for ALLCAPTCHA
Install
npm install playwright playwright-extra allcaptcha-playwrightUse
Full FAQ in site ALLCAPTCHA
Full Example
import { chromium } from 'playwright-extra'
import puppeteerStream from "allcaptcha-playwright";
chromium.use(
puppeteerStream({
apiKey:"" // YOUR TOKEN
})
);
chromium.launch({ headless: true,channel:"chrome"}).then(async browser => {
const page = await browser.newPage()
await page.goto("https://rucaptcha.com/demo");
const solve=await page.solveCustom({message:`TEST`});
console.log(solve)
await browser.close()
})Option
Supported options for page.solveCustom()
| Field | Type | Default value | Required | Description |
| --- |-------------| --- | --- |-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| message | String | "" | No | The message that is sent in the task |
| timeout | Number (ms) | 120_000 | No | The time allotted for the decision |
| nameUser | String | "" | No | The name of the user to whom you need to transfer the task for the solution |
| |
