package ru.yandex.autotests.direct.web.pages.managers;

import org.openqa.selenium.support.FindBy;

import ru.yandex.qatools.allure.webdriver.pages.BasePageObject;
import ru.yandex.qatools.htmlelements.annotations.Name;
import ru.yandex.qatools.htmlelements.element.Button;

/**
 * @author: Alex Samokhin (alex-samo@yandex-team.ru)
 * Date: 17.11.13
 */
public class CreateAgencyPage extends BasePageObject {


    @Name("Создать")
    @FindBy(xpath = ".//input[@name='sbm_create']")
    private Button createButton;

    public void clickOnCreateButton() {
        createButton.click();
    }


}
