#103 update overriding method
This commit is contained in:
parent
b1c090b0ea
commit
16885cc94f
@ -1,10 +1,11 @@
|
|||||||
package grant;
|
package grant;
|
||||||
|
|
||||||
import core.PageObject;
|
import core.PageObject;
|
||||||
|
import org.openqa.selenium.By;
|
||||||
|
|
||||||
public class GrantsDashboardPage extends PageObject {
|
public class GrantsDashboardPage extends PageObject {
|
||||||
@Override
|
@Override
|
||||||
public String getSubTitle() {
|
public String getSubTitle() {
|
||||||
return null;
|
return driver.findElement(By.tagName("h2")).getText();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user