Package com.codeborne.selenide.proxy
Class RequestMatchers
java.lang.Object
com.codeborne.selenide.proxy.RequestMatchers
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic RequestMatcher
urlContains
(RequestMatcher.HttpMethod method, String url) static RequestMatcher
urlEndsWith
(RequestMatcher.HttpMethod method, String url) static RequestMatcher
urlEquals
(RequestMatcher.HttpMethod method, String url) static RequestMatcher
urlMatcher
(RequestMatcher.HttpMethod method, Function<String, Boolean> urlMatches) static RequestMatcher
urlMatches
(RequestMatcher.HttpMethod method, String urlRegex) static RequestMatcher
urlMatches
(RequestMatcher.HttpMethod method, Pattern urlRegex) static RequestMatcher
urlStartsWith
(RequestMatcher.HttpMethod method, String url)
-
Constructor Details
-
RequestMatchers
public RequestMatchers()
-
-
Method Details
-
urlEquals
-
urlStartsWith
-
urlEndsWith
-
urlContains
-
urlMatches
-
urlMatches
-
urlMatcher
public static RequestMatcher urlMatcher(RequestMatcher.HttpMethod method, Function<String, Boolean> urlMatches)
-