Тёмный

Handle Dropdown In Playwright And Verify Dropdown Values 

Mukesh otwani
Подписаться 177 тыс.
Просмотров 14 тыс.
50% 1

Playwright provides a handy method called selectOption which allows us to select values using label, value, and index. In this video, I will show you different ways to select single-select dropdowns and multi-select dropdowns as well. We will also see how to get all values from the dropdown and run a loop to get all text from the dropdown. At the end, we will see a multi-select dropdown as well.
Playwright Series
• Playwright Tutorials F...
JavaScript Series
• How To Download And In...
Create your testRigor account now- testrigor.com/?...
All Playlist
/ mukeshotwani
If you want to support this channel
rzp.io/l/qNCApzHHL3
All Playlist
/ mukeshotwani
Connect with us:
Email - mukeshotwani@learn-automation.com
Linkedin- / mukesh-otwani-93631b99
Instagram- / mukeshotwaniofficial
Facebook Group- / 256655817858291
Facebook Page- / seleniumwebdrivermukesh
Blog- learn-automation.com

Наука

Опубликовано:

 

23 фев 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 18   
@saurabhsharma-cf7fn
@saurabhsharma-cf7fn Год назад
Thank you so much @Mukeshotwani sir for continuing the series
@Mukeshotwani
@Mukeshotwani Год назад
Thank you so much 🙏🏼 for waiting I will try to be regular ☺️
@roeldebrouwercitrus449
@roeldebrouwercitrus449 2 месяца назад
Thanks for the tip. Small comment: You don't need to await the expect. That is also what the small underlined dots are trying to say.
@Mukeshotwani
@Mukeshotwani 2 месяца назад
Thanks
@sumittaver59
@sumittaver59 9 месяцев назад
Hi Mukesh, very informative video keep it up this good work. Can you please let me know, how I can get the selected value from dropdown.
@sathishsaparapu5743
@sathishsaparapu5743 5 месяцев назад
Hi Mukesh, Thanks for the detailed video. How do we handle dropdown which are not having select tag ?
@philipeleal9617
@philipeleal9617 6 месяцев назад
Dear Mukesh Otwani, thank you for this great material. In this video, you mentioned that a selection option could be somehow applied for "div" option elements, and that it would require a different approach for handling this kind of situation. Would you have a video available for this case? If so, would you be so kind as to share the link to it? Sincerely,
@vibhavaripatil86
@vibhavaripatil86 6 месяцев назад
Thanks Mukesh for sharing this video. Could you please suggest how to verify the multiple options selected in multioption dropdown?
@Mukeshotwani
@Mukeshotwani 6 месяцев назад
Sure I can do that, can you explain one scenario so that I can replicate the same scenario and make video.
@eco89
@eco89 Год назад
Hi What do $ and $$ do in playwright? how they are different from the page.locator ()?
@3VAudioVideo
@3VAudioVideo 4 месяца назад
Cool, but how do you return the selected option's text? I am using .inputValue but that returns the option value, not the option text.
@Mukeshotwani
@Mukeshotwani 4 месяца назад
Can u try innerText? ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-X2f9uUBnl1w.html&pp=ygUXcGxheXdyaWdodCBjYXB0dXJlIHRleHQ%3D
@christophermoffit5821
@christophermoffit5821 6 месяцев назад
Is there a way i can have my pandas dataframe excel sheet fill the data for a select dropdown element ?
@Mukeshotwani
@Mukeshotwani 6 месяцев назад
Good question, never tried but you can try with CSV directly playwright.dev/docs/test-parameterize#create-tests-via-a-csv-file
@akanshabahutale5161
@akanshabahutale5161 4 месяца назад
HI Mukesh, How to handle dropdown in playwright without select tags? THanks in advance. Please help here.
Далее
МНЕ ИСПОРТИЛИ МАШИНУ #shorts
00:30
Просмотров 1,3 млн
Acer Predator Тараканьи Бега!
1:00
Просмотров 459 тыс.