# Class: Captcha

## Captcha()

Represents a captcha

## Constructor

#### new Captcha()

Source:
  - captcha.js, line 7

### Members

#### apiResponse

API response for captcha request

Source:
  - captcha.js, line 40

#### id

Captcha ID, as provided from 2Captcha

Source:
  - captcha.js, line 14

#### text

Text from captcha

Source:
  - captcha.js, line 27

### Methods

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

If the captcha sent was a image, this function returns the coordinates (X, Y) clicked

Source:
  - captcha.js, line 64

##### 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:
  - captcha.js, line 54

##### Returns:

An array of indexes clicked

Type
  Array.<Number>