This is python 2.7 with Selenium:
And it's targeting the log in button on Facebook.com. I think the syntax is off somewhere but not sure.
driver.find_element_by_xpath("//form[contains(@id, 'log')]//input[@type='submit' and contains(lower-case(text(), 'log'))]").click()
And it's targeting the log in button on Facebook.com. I think the syntax is off somewhere but not sure.