Multi-Select Dropdown
For multi-select dropdowns, pass an array to selectOption().
On the Dropdowns page, #multiSelect allows selecting multiple frameworks: Selenium, Playwright, Cypress, TestCafe, WebDriverIO.
Task:
- Navigate to
https://testkru.com/Elements/Dropdowns - Select both "Selenium" and "Playwright" from the multi-select
- Get all selected options and print their count and text
Expected output:
Selected count: 2 Selenium Playwright
TestKru