java.lang.Object
org.jboss.arquillian.drone.webdriver.utils.UrlUtils

public class UrlUtils extends Object
A simple URL utility class
  • Constructor Details

    • UrlUtils

      public UrlUtils()
  • Method Details

    • isSeleniumHubRunningOnDefaultUrl

      public static boolean isSeleniumHubRunningOnDefaultUrl()
      Tries to open connection to the default URL of Selenium Server (localhost:4444) to check whether Selenium Hub is started
    • isReachable

      public static boolean isReachable(URL url)
      Tries to open connection to the given URL to check it is reachable
    • isLocalhost

      public static boolean isLocalhost(URL url)
      Checks whether the given URL is a localhost address