{"library":"wdio-intercept-service","type":"library","category":null,"description":"A WebdriverIO plugin for capturing and asserting HTTP AJAX calls (XHR and fetch) during e2e tests. Current stable version is 4.4.1, targeting WebdriverIO v8+. It works by injecting a script into the browser after page load to intercept requests initiated by user actions within test code. Key differentiators: supports both XMLHttpRequest and fetch APIs, allows asserting request method, URL (string or regex), status code, and response details. Cannot intercept requests made on initial page load.","language":"javascript","status":"active","version":"4.4.1","tags":["javascript","selenium","webdriver","webdriverio","wdio-service","wdio-plugin","service","webdriverjs","fetch","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install wdio-intercept-service","imports":["import WebdriverAjax from 'wdio-intercept-service'","browser.setupInterceptor()","browser.expectRequest('GET', '/api/foo', 200)","browser.assertRequests()"]},{"cmd":"yarn add wdio-intercept-service","imports":[]},{"cmd":"pnpm add wdio-intercept-service","imports":[]}],"homepage":null,"github":"https://github.com/webdriverio-community/wdio-intercept-service","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/wdio-intercept-service","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/wdio-intercept-service/compatibility"}}