Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <label id="choose" for="options">01</label>
- driver.findElement(By.xpath("//*[@id="choose"]")).sendKeys("01");
- Select hr=new Select(driver.findElement(By.id("choose")));
- hr.selectByValue("04");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement