Class BlockPattern
java.lang.Object
org.openqa.selenium.devtools.v145.network.model.BlockPattern
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBlock()Whether or not to block the pattern.URL pattern to match.
-
Constructor Details
-
BlockPattern
-
-
Method Details
-
getUrlPattern
URL pattern to match. Patterns use the URLPattern constructor string syntax (https://urlpattern.spec.whatwg.org/) and must be absolute. Example: `*://*:*/*.css`. -
getBlock
Whether or not to block the pattern. If false, a matching request will not be blocked even if it matches a later `BlockPattern`.
-