public PageFactory(Type driverType, bool isHeadless = false, int elementWaitTime = 0, int pageWaitTime = -1) { Driver = new DriverConfig(driverType, isHeadless, elementWaitTime, pageWaitTime).Driver; SharedIAlert = new SharedIAlert(Driver); SharedHTML = new SharedHTML(Driver); IndexPage = new IndexPage(Driver); AddRemoveElementsPage = new AddRemoveElementsPage(Driver); BasicAuthenticationPage = new BasicAuthenticationPage(Driver); BrokenImagesPage = new BrokenImagesPage(Driver); CheckboxesPage = new CheckboxesPage(Driver); DigestAuthenticationPage = new DigestAuthenticationPage(Driver); DragAndDropPage = new DragAndDropPage(Driver); DropdownPage = new DropdownPage(Driver); EntryAdPage = new EntryAdPage(Driver); FormAuthenticationPage = new FormAuthenticationPage(Driver); FramesPage = new FramesPage(Driver); HoversPage = new HoversPage(Driver); InputsPage = new InputsPage(Driver); JavaScriptAlertsPage = new JavaScriptAlertsPage(Driver); KeyPressesPage = new KeyPressesPage(Driver); NestedFramesPage = new NestedFramesPage(Driver); }
public FramesPage(IWebDriver driver) : base(driver) { IFramePage = new IFramePage(driver); NestedFramesPage = new NestedFramesPage(driver); }