User Tools

Site Tools


captcha

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

captcha [2019/12/17 12:13] (current)
Line 1: Line 1:
 +====== 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: 2019/12/17 12:13 (external edit)