I have a scenario which involves pressing Enter key in the webpage. For Chrome my code works fine but when it comes to Firefox my code is not working. Please help me with an idea so that I can automate Enter key press in Selenium Python for Firefox driver.
Below are the codes that I have used.
browser1.find_element_by_xpath("path").send_keys(u'\ue007')
browser1.find_element_by_xpath("path").send_keys(Keys.ENTER)