In addition to the standard CDP Functions, Browser API also provides some powerful custom CDP Functions.
Captcha.solve
Custom CDP commands for CAPTCHA status
Captcha.detected | Browser API has encountered a CAPTCHA and has begun to solve it |
Captcha.solveFinished | Browser API successfully solved the CAPTCHA |
Captcha.solveFailed | Browser API failed in solving the CAPTCHA |
Captcha.waitForSolve | Browser API waits for CAPTCHA solver to finish |
Captcha.setAutoSolve
Disable auto-solver for a specific CAPTCHA type only - Examples
Manually solving CAPTCHAs - Examples
CaptchaOptions for other Captcha types
Emulation.getSupportedDevices
Emulation.setDevice
landscape
after the device_name
.AdBlock
feature can help reduce bandwidth usage and improve performance on ad-heavy websites.
Unblocker.enableAdBlock
– Enables ad blocker (default: off)Unblocker.disableAdBlock
– Disables ad blockerBrowser.addCertificate
Code examples
SBR_ZONE_FULL_USERNAME:SBR_ZONE_PASSWORD
with your valid Browser API credentials.
client.pfx
with the actual path to your certificate file. This file should be a valid SSL/TLS client certificate in .pfx format.
secret
with the actual password for the certificate.