How to select a value from drop down using selenium-webdriver JavaScript bindings. I do see that Select is available in Java. I have seen similar option in C# also. Couldn't find anything in JavaCcript to handle select option enter link description here
Asked
Active
Viewed 1,048 times
1 Answers
1
In selenium-webdriver JavaScript you don't have "Select" class. You just need to simply click on drop-down option by passing correct css/xpath.
let element = driver.wait(until.elementLocated(By.css(cssLocator)));
element.click();

Pritam Patil
- 90
- 1
- 12