Which Selenium strategy is most effective for evaluating dynamic content that loads after the initial page render?
-
A
Use Thread.sleep() with a fixed timeout
-
B
Use WebDriverWait with ExpectedConditions
-
C
Reload the page until content appears
-
D
Disable JavaScript and test static HTML