Instructor
gunjan Replied on 13/11/2018
The exception is probably due to wait issue.
Please use Implicit wait or Explicit wait before extracting the element and try again
unbale to chnage to ExplicitWait
Instructor
gunjan Replied on 13/11/2018
The command for explicit wait is -
WebDriverWait wait=new WebDriverWait(driver, TimeSpan.FromSeconds(10));
wait.until(ExpectedConditions.ElementIsVisible(By.XPath(“”));
For more clarifications, follow module-12