title: WebDriver Explicit wait in Page Object model
body: <p>We currently have a big selenium junit project which uses the page object model. We make use of the <code>@FindBy</code> annotation to declare our WebElements. Now when we run the tests, we randomly get the <code>NoSuchelementException</code>, which means the page might not have finished loading. We don't want to use an implicit wait because that won't provide a complete solution (an element might be present in the DOM but not interactable yet). An explicit wait might solve this problem. However, how do we use it in this page model architecture without having to take away the <code>@FindBy</code> annotation? This might have been asked before, but I don't seem to find any solutions yet.</p>