Dealing with reCAPTCHA in Python Selenium
问题 I need to automate a web page using python selenium, but it encounters a reCaptcha, which is in another frame. I want to solve the captcha, and continue the script by clicking the login button, when the reCaptcha has been solved; However, this gets tricky, since a frame is involved, and the frame needs to switch back to the default content. Can anyone help me in this regard? from selenium import webdriver from selenium.webdriver import ActionChains from selenium.webdriver.support import