I would like to implement the following commands which already work in the Selenium IDE (screenshot) to pyhton (see coding).
https://i.ibb.co/ydMWN1R/selenium.png
driver.get("https://www.luckyemoji.com/logout");
driver.get("https://www.luckyemoji.com/login");
element = driver.find_element_by_name('email')
element.send_keys('#####')
element = driver.find_element_by_name('password')
element.send_keys('#####')
driver.switch_to.frame(0)
driver.find_element_by_xpath("//span/div[3]").click()
Following error occours:
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//span/div[3]"} (Session info: chrome=72.0.3626.121) (Driver info: chromedriver=2.35 (0),platform=Linux 4.14.98-v7+ armv7l)