Answer the question
In order to leave comments, you need to log in
How to find a select element in selenium by the text of one of its options?
In general, there is one page, and select on it. After selecting an element, several more select elements are dynamically drawn. Etc. In the script, the selection options are stored in an array - [select1,select2,select3...], as the value of one of the options of the given select, i.e.:
<select name='par[3345]'>
<option>Квартира</option>
<option>Дом</option>
</select>
<select name='par[4212]'>
<option>Куплю</option>
<option>Продам</option>
</select>
mas=["Дом","Продам"]
["Дом","Продам",["Кирпичный","2 этажа","200кв.м"]]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question