BaseBatchRequestExpectation

Batch expectation built on top of BaseRequestExpectation instances.

Constructors

Link copied to clipboard
constructor(tab: Tab, urlPatterns: List<Regex>)

Properties

Link copied to clipboard

A map of URL patterns (as Regex) to their corresponding RequestExpectations.

Functions

Link copied to clipboard
open suspend override fun <T> use(block: suspend BatchRequestExpectation.() -> T): T

Activate all expectations for the duration of block. Expectations are enabled concurrently by nesting RequestExpectation.use calls, so all handlers are active while block executes.