Advertisement
DSTRN

dropdownSelect

Jan 18th, 2022
989
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.17 KB | None | 0 0
  1. public void sortElements() {
  2.         Select slc = new Select(driver.findElement(By.id("selectProductSort")));
  3.  
  4.         slc.selectByVisibleText("Price: Lowest first");
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement