User Tools

Site Tools


Sidebar

Software

captcha

captcha


captcha - Solves a captcha image

Description

captcha("$image_url")
captcha("$image_file_path")
captcha("$tag_search","$attribute_search","$attribute_value")

This function returns a string

Parameters

$image_url
The url of the captcha image

$image_file_path
The file path of the captcha image

$tag_search
The element tag to search
Tags can be: “img”, “div”, “span”, …

$attribute_search
The tag attribute to search to identify the element
Attributes examples: “id”, “name”, “style”, …

$attribute_value
The value of the attribute to be found

Examples

navigate("http://diaboliclabs.com/testpage")
sleep(5)
$captcha_response=captcha("img","id","captcha")
alert($captcha_response)
captcha.txt · Last modified: 2014/11/24 13:22 by admin