Class UrlUtils
- java.lang.Object
-
- org.jboss.arquillian.drone.webdriver.utils.UrlUtils
-
public class UrlUtils extends Object
A simple URL utility class
-
-
Constructor Summary
Constructors Constructor Description UrlUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisLocalhost(URL url)Checks whether the givenURLis a localhost addressstatic booleanisReachable(URL url)Tries to open connection to the givenURLto check it is reachablestatic booleanisSeleniumHubRunningOnDefaultUrl()Tries to open connection to the default URL of Selenium Server (localhost:4444) to check whether Selenium Hub is started
-
-
-
Method Detail
-
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 givenURLto check it is reachable
-
-