Hi, here are the steps
- Get the captcha image from the website. Its bytes will be stored in the
data.RAWSOURCE
variable which is a Byte Array - Use bytes => base64 to get a base64 string from the byte array
- Finally use the block to solve an image captcha by using your favourite solver (configurable in RL Settings)
Here is some sample LoliCode
BLOCK:HttpRequest
url = "https://example.com/captcha.png"
TYPE:STANDARD
$""
"application/x-www-form-urlencoded"
ENDBLOCK
BLOCK:ByteArrayToBase64String
bytes = @data.RAWSOURCE
=> VAR @BASE64
ENDBLOCK
BLOCK:SolveImageCaptcha
base64 = @BASE64
=> VAR @SOLUTION
ENDBLOCK
Ruri