Skip to content

CAPTCHA Types

Serve different types of CAPTCHA by setting the captchaType to frictionless, pow, image.

Procaptcha’s default frictionless feature dynamically detects if the user is using a normal browser or automated, headless browsers such as playwright or selenium. If the user is likely to be a bot, the user will be presented with an image CAPTCHA challenge. If the user is likely to be a human, the user will not be presented with an image CAPTCHA challenge and will instead solve a simple, invisible Proof of Work (PoW) challenge.

A Proof of Work (pow) CAPTCHA challenge requires the user to solve a computational puzzle before submitting the form. It is easy for humans to solve but computationally expensive for bots.

prosopo procaptcha pow captcha challenge

The Proof of Work CAPTCHA type does not interrogate the user’s browser environment, use frictionless for that (above).

An image CAPTCHA challenge requires the user to select the correct image(s) that match the given prompt.

prosopo procaptcha image captcha challenge

The Image CAPTCHA type does not interrogate the user’s browser environment, use frictionless for that (above).

1. Set the type in the widget configuration

Section titled 1. Set the type in the widget configuration

Here we are setting the captchaType to Proof-of-Work pow.

<div class="procaptcha" data-sitekey="your_site_key" data-captcha-type="pow"></div>

Navigate to the Prosopo portal and update the CAPTCHA type in the settings to pow.

prosopo pow setting

1. Set the type in the widget configuration

Section titled 1. Set the type in the widget configuration

Here we are setting the captchaType to Image image.

document.getElementById('procaptcha-script').addEventListener('load', function () {
function onCaptchaVerified(output) {
console.log('Captcha verified, output: ' + JSON.stringify(output))
}
// Get the Element using elementId
const captchaContainer = document.getElementById('procaptcha-container')
window.procaptcha.render(captchaContainer, {
siteKey: 'YOUR_SITE_KEY',
theme: 'dark',
callback: onCaptchaVerified,
captchaType: 'image', // `pow` or leave blank for `frictionless`
})
})

Navigate to the Prosopo portal and update the CAPTCHA type in the settings to image.

prosopo image setting