fix: 21 finally fix with getter methods

This commit is contained in:
2024-10-01 22:23:12 -04:00
parent 4a5405049c
commit ed9847864a
4 changed files with 28 additions and 17 deletions
@@ -7,6 +7,8 @@ import org.testng.annotations.Test;
import zacksolutions.base.Initialization;
import zacksolutions.pages.HomePage;
import java.io.IOException;
public class HomePageTest extends Initialization {
HomePage homePage;
@@ -22,7 +24,7 @@ public class HomePageTest extends Initialization {
}
@Test
public void TextTest() throws InterruptedException {
public void TextTest() throws InterruptedException, IOException {
System.out.println(driver.getTitle());
HomePage hp = new HomePage();
hp.insertText();