Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in DevOps and Agile by (29.3k points)

I faces some issues

line number 29 & line number 40 shows a error sign

how can i ignore it?

1 Answer

0 votes
by (50.2k points)

For this, use the below syntax that might help you:

 Wait wait = new FluentWait<WebDriver>(driver)

.withTimeout(50, TimeUnit.SECONDS)

.pollingevery(3, TimeUnit.SECONDS)

.ignoring(NoSuchElementException.class);

For more information refer to this selenium tutorial

Browse Categories

...