gahhon Wrote:but it still same errorWhat's the error?
You could post all of your code and not just one line.
Do not post image of HTML code.
Can post in forum with code tag or better for HTML CodePen or JSFiddle.
Example Pen,you see that i have put
id="txtAccessCode"
.When i test local with that html code it work,it send
abc123sample
to input field.from selenium import webdriver from selenium.webdriver.chrome.options import Options from selenium.webdriver.common.keys import Keys import time from bs4 import BeautifulSoup #--| Setup options = Options() #options.add_argument("--headless") browser = webdriver.Chrome(executable_path=r'C:\cmder\bin\chromedriver.exe') #--| Parse or automation browser.get('file:///E:/div_code/scrape/local1.html') time.sleep(3) browser.find_element_by_id("txtAccessCode").send_keys("abc123sample") time.sleep(5) browser.quit()