I want to fill up a textbox and then click on submit button using python. After clicking on the submit button, a opo up comes up with a captcha to be solved. I want to further read that captcha image to convert it into text and enter the security mechanism. Here is what I have already tried'
import selenium
from selenium import webdriver
browser = webdriver.Firefox()
browser.get('www.abc.com')
id_box = browser.find_element_by_id('EnterNo')
id_box.send_keys('1234567890')
Upto this point the code is working. But, I am not able to click on the submit button after this, i.e. the below code is not working
submit_button = browser.find_element_by_name('SubmitButton')
submit_button.click()
This throws the following error :
ElementNotInteractableException: Message: Element <input id="SubmitButton" name="SubmitButton" type="hidden"> could not be scrolled into view