please can someone help me with this,
I can't get selenium to click a button with python. I'm on python 3.4 and using Firefox 42
the browser opens but that's all
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
driver = webdriver.Firefox()
driver.get("http://www.speedyshare.com/")
elem = find_element_by_id_name("selectfilebox")
elem.click()
The browser opens but i get the following error
Traceback (most recent call last):
File "/home/ro/sele.py", line 6, in <module>
elem = find_element_by_id_name("selectfilebox")
NameError: name 'find_element_by_id_name' is not defined
find_element_by_id_namefunction.