diff --git a/src/test/java/com/yourcompany/Tests/SimpleTest.java b/src/test/java/com/yourcompany/Tests/SimpleTest.java index ccbb911..aacad4e 100644 --- a/src/test/java/com/yourcompany/Tests/SimpleTest.java +++ b/src/test/java/com/yourcompany/Tests/SimpleTest.java @@ -15,6 +15,7 @@ public void test(String browser, String version, String os, Method method) throw WebDriver driver = this.getWebDriver(); driver.get("https://testingbot.com"); - Assert.assertEquals("TestingBot: Cross Browser Testing and Mobile App Testing", driver.getTitle()); + String title = driver.getTitle(); + Assert.assertTrue(title.contains("TestingBot"), "Unexpected page title: " + title); } } \ No newline at end of file