Why is selenium find element not working?

I learning python web automation using selenium but when I trying to add a input for find_element_by_name it is not working.

    from selenium import webdriver
PATH = 'C:\Program Files (x86)\chromedriver.exe' 
driver = webdriver.Chrome(PATH)
driver.get('https://kahoot.it')
codeInput = driver.find_element_by_name('gadmeId')
codeInput = 202206

I have downloaded the chromedriver but still it is not working.



Read more here: https://stackoverflow.com/questions/64399807/why-is-selenium-find-element-not-working

Content Attribution

This content was originally published by horizon at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: