[HtmlUnit] SVN: [15520] trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/ ExternalTest.java

rbri--- via HtmlUnit-develop <[email protected]> Wed, 15 Aug 2018 08:09:57 +0000
Newsgroups gmane.comp.java.htmlunit.devel
Message-ID <[email protected]>
Revision: 15520
          http://sourceforge.net/p/htmlunit/code/15520
Author:   rbri
Date:     2018-08-15 08:09:56 +0000 (Wed, 15 Aug 2018)
Log Message:
-----------
looks like github has changed the page html code

Modified Paths:
--------------
    trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/ExternalTest.java

Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/ExternalTest.java
===================================================================
--- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/ExternalTest.java	2018-08-15 08:01:20 UTC (rev 15519)
+++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/ExternalTest.java	2018-08-15 08:09:56 UTC (rev 15520)
@@ -125,7 +125,7 @@
         try (WebClient webClient = getWebClient()) {
             try {
                 final HtmlPage page = webClient.getPage("https://github.com/mozilla/geckodriver/releases/latest");
-                final DomNodeList<DomNode> divs = page.querySelectorAll(".release-title");
+                final DomNodeList<DomNode> divs = page.querySelectorAll(".release-header div");
                 assertEquals("Gecko Driver", divs.get(0).asText(), "v" + GECKO_DRIVER_);
             }
             catch (final FailingHttpStatusCodeException e) {


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot