Back to Browse

Why Constructor in Page Object Model ? | QA Automation Talk

3.5K views
Premiered Dec 1, 2022
5:16

A constructor has to be created in each of the class in the Page Layer (POM), in order to get the driver instance from the Main class in Test Layer and also to initialize WebElements (Page Objects) declared in the page class using PageFactory.

Download

0 formats

No download links available.

Why Constructor in Page Object Model ? | QA Automation Talk | NatokHD