blob: 8ed6026765faf4eb386329a09732523d0e49d242 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
package com.mavlushechka.a1qa.pages;
import aquality.selenium.elements.interfaces.IElement;
import aquality.selenium.elements.interfaces.ILabel;
public abstract class BaseForm {
private final IElement uniqueElement;
private final String name;
public BaseForm(ILabel uniqueElement, String name) {
this.uniqueElement = uniqueElement;
this.name = name;
}
public boolean isOpened() {
return uniqueElement.getElement().isDisplayed();
}
public String getName() {
return name;
}
}
|