Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
captcha_img = driver.find_element_by_xpath('.//img[@class="js-captcha-img b-captcha__captcha"]')
captcha_base64 = captcha_img.screenshot_as_base64
captcha_base64
base64 of the image will be saved in, you can make sure that it is correct here - insert the text from the variable and check if the image is correct. If yes, then captcha_base64
send this one to the captcha service.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question