summaryrefslogtreecommitdiff
path: root/src/main/java/com/mavlushechka/a1qa/project/pages/FeedPage.java
blob: abc0f9132f16bec41cbd9a768a6ad41db0208181 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.mavlushechka.a1qa.project.pages;

import aquality.selenium.browser.AqualityServices;
import com.mavlushechka.a1qa.framework.pages.BaseForm;
import org.openqa.selenium.By;

public class FeedPage extends BaseForm {

    private final SideBarForm sideBarForm = new SideBarForm();


    public FeedPage() {
        super(AqualityServices.getElementFactory().getLabel(By.id("main_feed"), "Main feed"), "Feed");
    }

    public void clickMyProfileButton() {
        sideBarForm.clickMyProfileButton();
    }

}