From dd92a9313cfddb4a7c23327db031073734debdf8 Mon Sep 17 00:00:00 2001 From: rbri Date: Mon, 11 Dec 2017 22:45:31 +0100 Subject: [PATCH] fix some tests and new version --- pom.xml | 2 +- .../java/org/openqa/selenium/htmlunit/HtmlUnitAlertTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 2e12ebf9..2d531a27 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ org.seleniumhq.selenium htmlunit-driver - 2.28.2 + 2.28.3 htmlunit-driver WebDriver compatible driver for HtmlUnit headless browser diff --git a/src/test/java/org/openqa/selenium/htmlunit/HtmlUnitAlertTest.java b/src/test/java/org/openqa/selenium/htmlunit/HtmlUnitAlertTest.java index 47f0aade..e8081def 100644 --- a/src/test/java/org/openqa/selenium/htmlunit/HtmlUnitAlertTest.java +++ b/src/test/java/org/openqa/selenium/htmlunit/HtmlUnitAlertTest.java @@ -44,7 +44,7 @@ public void confirmWithRedirect() throws Exception { Thread.sleep(1000); - assertEquals("HtmlUnit – Welcome to HtmlUnit", driver.getTitle()); + assertTrue(driver.getTitle(), driver.getTitle().contains("Welcome to HtmlUnit")); } @Test