I am testing a form, it has a categories field, it's an input-based drop-down menu. After add some text with .send_keys('text') it shows a list of categories. Take a look at its HTML:
<input type="text" aria-required="true" id="categories" maxlength="64" value="" autocomplete="off" class="input__69f5f__1POmY" placeholder="Pizza (Be specific)">
I am doing this to find and submit input text:
categories = browser.find_element_by_id('categories').send_keys('Software Development')
after that, it shows a list like:
Please someone can help me, how can I click on an option in the drop-down menu?
I am using the Firefox webdriver.
Thanks.