Пример #1
0
        public override void Init(DriverWrapper driver)
        {
            base.Init(driver);
            language = GetPOM <LanguageChanger>(driver);

            nameInput        = driver.GetByXpath("//input[@id = 'name']");
            surnameInput     = driver.GetByXpath("//input[@id = 'surname']");
            phoneNumberInput = driver.GetByXpath("//input[@id='phone-number']");
            password         = driver.GetByXpath("//input[@id='password']");
            newPassword      = driver.GetByXpath("//input[@id='new-password']");
            confirmPassword  = driver.GetByXpath("//input[@id='password-repeat']");
            btnUpdateProfile = driver.GetByXpath("//button[@id='submit-button']");
            title            = driver.GetByXpath("//div[@class='title_left']//span");
            //imageSelect = driver.GetByXpath("//input[@id='image-file']");
        }
Пример #2
0
 public override void Init(DriverWrapper driver)
 {
     language = GetPOM <LanguageChanger>(driver);
     sidebar  = GetPOM <SidebarUsers>(driver);
     base.Init(driver);
 }