P
P
Python Newbie2021-08-31 08:47:10
Python
Python Newbie, 2021-08-31 08:47:10

How to click on menus in selenium?

After pressing the button, a menu appears: 6ndYXIWV.jpg?download=1&name=%D0%A1%D0%BA%D1%80%D0%B8%D0%BD%D1%88%D0%BE%D1%82%2031-08-2021%2008:24 :11.jpg

How to click on one of the items using Selenium.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
U
UberPool, 2021-08-31
@Levman5

Use select, at least google it sometimes.

select = Select(driver.find_element_by_id('fruits01')) #поиск по id элемента и тп

select.select_by_visible_text('Нормальная')

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question