#40 Playwright with Python | Select Multi select dropdown in Playwright

preview_player
Показать описание
#python
#playwright
#pytest
#playwright
#pytest
#python
How to select multi select list by index in Playwright
How to select a multi select list by visible text in Playwright
How to select a multi select list by value in Playwright
How to select a multi select list by a list

Рекомендации по теме
Комментарии
Автор

If you hover your mouse over the 'index' keyword, it shows you that you need to place the index you want, in list brackets. So for example

Yoyo-gfoi
Автор

Hi is there a way to keep the browser in open after the script is completed
Commonly in selenium if driver.close() or quit() is not invoked the browser will not be closed
Is there any option like that in Playwright
Pls help me

karthikvk
Автор

Hi bro
In my application for the dropdown there is no values/index available
When trying to inspect the drop down it displays the DOM in input
Is there any method by calling the default first value in the drop down
My Application DOM:
<input class="search form-control w-100 d-block" type="text" autocomplete="on" placeholder="">
<span class="deselect-option ng-tns-c11-11 ng-star-inserted" style="height: 37px; line-height: 37px;">emporia</span>

Can you please help on this

karthikvk
join shbcf.ru