Advertisement
DSTRN

dropdownSelect

Jan 18th, 2022
692
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public void sortElements() {
  2.         Select slc = new Select(driver.findElement(By.id("selectProductSort")));
  3.  
  4.         slc.selectByVisibleText("Price: Lowest first");
  5. }
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement