I need to select an element from a drop-down menu.
For example:
You don't have to click anything. Use find by xpath or whatever you choose and then use send keys
For your example: HTML:
Choose your fruits: Banana Mango
Python:
fruit_field = browser.find_element_by_xpath("//input[@name='fruits']") fruit_field.send_keys("Mango")
That's it.