blob: 3ac855a1bf53ae64aea85e38d209d0dba649deee (
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
|
package com.mavlushechka.a1qa.pages;
import com.mavlushechka.a1qa.elements.BaseElement;
public abstract class BaseForm {
protected final BaseElement uniqueElement;
protected final String name;
public BaseForm(BaseElement uniqueElement, String name) {
this.uniqueElement = uniqueElement;
this.name = name;
}
public boolean isOpened() {
return uniqueElement.isVisible();
}
public String getName() {
return name;
}
}
|