R
R
r1mple2021-10-01 14:38:33
selenium
r1mple, 2021-10-01 14:38:33

How to select element from Selenium dropdown?

<div class="rui-Select-input rui-Input-root rui-Input-awesome rui-Input-withOutline rui-Input-withStatusLine rui-Input-error rui-Input-isEnabled rui-Input-medium rui-Input-withRightIcon">
<input class="rui-Input-input group-0-3-29 rui-Select-field rui-Select-darkPlaceholder" tabindex="0" name="question" id="question" readonly="" placeholder="Выберите контрольный вопрос" value="">
<div class="rui-Select-inputBorder rui-Input-activeBorder"></div>
<div class="rui-Select-icon rui-Input-iconRight rui-Input-icon">
<div class="rui-Select-arrow" role="button"></div>
</div>
</div>


Here is my own code, I register on the rambler, the task is to select one of the security questions, and I don’t know how to choose this security question, because the dropdown is open or not open is determined by the class in the dominant div.
I don't know how well I explained.
Link to the registration page - https://id.rambler.ru/login-20/mail-registration?=...

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question