how to add explicit wait in drop down in selenium which is dependent on another dropdown?

后端 未结 3 1752
滥情空心
滥情空心 2021-01-27 13:51

how to add explicit wait in drop down using selenium until it finds the text ?

3条回答
  •  灰色年华
    2021-01-27 14:55

    WebDriver wait = new WebDriver(Driver, Seconds);
    boolean status; 
    

    status = wait.until(ExpectedConditions.presenceOfElementLocated(By.xpath(""))) != null;

提交回复
热议问题