Selenium Tutorial for Beginners | Chapter - 20
Page factory in Selenium: Page Factory is an inbuilt Page Object Model (POM) for Selenium WebDriver that is more optimized than POM. At a high level, Page Factory in Selenium can be considered as the extension of Page Objects. Page Factory class in Selenium is the catalyst that makes it easier and simpler to use Page Objects. It is safe to mention that Page Factory is a combination of POM enabled through Page Factory Class in Selenium. Shown below is the top-level difference of Page Object Model (POM) and Page Factory. Source code: https://github.com/ortoniKC/Selenium-WebDriver-Java Chapters: 0:00 Page factory in Selenium 1:00 @findBy annotation 4:15 @cachelookup annotation 8:45 Page factory init elements 10:35 Pros and cons of page factory --------------------------------------------------------------------- 😊Just in case you want to support me, 🎁https://www.buymeacoffee.com/letcode --------------------------Thank you--------------------------- Thanks for watching, if you like the video, give it a thumbs up 👆. Sharing is caring, kindly share the video with your friends and colleagues. Don't forget to subscribe and hit the bell 🔔 notification. --------------------------------SOCIAL-------------------------------- 📝Test Practice Site: https://letcode.in/ 👥Facebook Group: https://www.facebook.com/groups/letcode 🐦Discord: https://discord.gg/Tvwac8HgQD 📸Instagram: https://www.instagram.com/letcode.in/ 🎓 LinkedIn: https://www.linkedin.com/in/ortoni/ ⛳️ XPath Extension: https://bit.ly/2T5EUCu Join our WhatsApp group (Only for Channel Members) http://bit.ly/3cSPCpm #letcode #seleniumjava #selenium #seleniumtutorial
Download
0 formatsNo download links available.