Class: Captcha

Captcha()

Represents a captcha

Constructor

new Captcha()

Source:

Members

apiResponse

API response for captcha request
Source:

id

Captcha ID, as provided from 2Captcha
Source:

text

Text from captcha
Source:

Methods

coordinates() → {Array.<Array.<Number>>}

If the captcha sent was a image, this function returns the coordinates (X, Y) clicked
Source:
Returns:
An array of coordinate tuples
Type
Array.<Array.<Number>>

indexes() → {Array.<Number>}

If the captcha sent was tile-like, this function returns the indexes of the clicks on an array.
Source:
Returns:
An array of indexes clicked
Type
Array.<Number>