Best Practices for Selenium Wait for Page to Load – What Works in 2024? *(Note: You asked to avoid a specifi

18 Replies, 1045 Views

Random fails? Could be a timing issue.

I’ve started using `PageLoadStrategy.NONE` and letting `WebDriverWait` handle everything. Sounds weird, but it works!

Also, check out SeleniumBase (https://github.com/seleniumbase/SeleniumBase)—it has built-in smart waits.

Messages In This Thread



Users browsing this thread: 1 Guest(s)