Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • 1
    @SlevFlorin That library uses PageFactory which the Selenium creator that wrote it said not to use. Commented Oct 10, 2021 at 20:59
  • In c# there is a method called StalenessOf(IWebElement element) inside the ExpectedConditions class which can be used. Don't know if the class also implements the method in java Commented Jun 1, 2022 at 13:57
  • @SlevFlorin This is a video of Simon Stewart, the creator of WebDriver, Selenium Project lead, and creator of PageFactory at seleniumconf a few years ago stating not to use PageFactory. youtu.be/gyfUpOysIF8?t=1518. I started the section a little early to give context but at 27:27 he specifically states, "Don't use page factory." Commented Oct 14, 2022 at 14:07