Taiko
Documentation

Home / API Reference

clearIntercept

Removes interceptor for the provided URL or all interceptors if no URL is specified

Examples

# case 1: Remove intercept for a single  URL :
await clearIntercept(requestUrl)
# case 2: Reset intercept for all URL :
await clearIntercept()

Parameters


requestUrl

request URL to intercept. Optional parameters


Returns

This API does not return any values