I have a dropdown box that I would like to select a value using WebDriverJS. I\'ve looked at the user guide below and could not find out how to do it
I get same problem, and above solutions not working in my typeScript case
But I still find a solution:
await driver.findElement(By.id("ELEMENT_ID")).sendKeys("SOME_VALUE");
Due to driver will return a promise when get a selector element
So add await to do the next things