Write TestCases using PageFactory (Selenium-WebDriver). Advantages? [closed]
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 3 years ago . Is it a good practice to go the PageFactory way when writing testcases in Selenium2? If yes why? To be frank I have never used them when writing test-cases and have not missed it either. But I would to know what are the advantages of using PageFactory over not using it. 回答1: