Image captcha solving in selenium with openbullet 1.2.2



  • Hello everybody!

    How to solve image captcha in selenium with openbullet version 1.2.2?


  • Admin

    Hello, as i replied in chat:

    • detect which element has the captcha image
    • use elementaction block -> ScreenshotBase64 (save it to a variable named IMG for example)
    • use solvecaptcha block, imagecaptcha mode, write <IMG> inside the base64 field


  • @Ruri is this true ?

    ELEMENTACTION Name "captcha_code"
    Screenshot -> VAR "IMG"

    FUNCTION Base64Decode -> VAR "<IMG>"

    CAPTCHA "https://xip.li/captcha" "User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko" Base64=TRUE SendScreenshot=TRUE -> VAR "<IMG>"

    ELEMENTACTION Name "captcha_code"
    Click

    ELEMENTACTION Name "captcha_code"
    SendKeysHuman "<captcha_code>"



  • @yasinzx
    Should be something like this as Ruri said

    ELEMENTACTION Id "where I am on web site?" ## this is what you need to find on your website
      ScreenshotBase64 -> VAR "IMG" 
    SOLVECAPTCHA ImageCaptcha "<IMG>" NotSpecified NotSpecified 0 0 NotSpecified "" 
    

Log in to reply