
org.gemini4j.utils.UrlUtils Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core Show documentation
Show all versions of core Show documentation
Screenshot-based UI testing.
The newest version!
package org.gemini4j.utils;
import java.net.MalformedURLException;
import java.net.URL;
public final class UrlUtils {
private UrlUtils() {
}
public static URL safeToUrl(final String url) {
try {
return new URL(url);
} catch (final MalformedURLException e) {
throw new IllegalArgumentException("Invalid URL provided", e);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy