N
N
Ne7Le4Der2021-12-02 13:26:48
Node.js
Ne7Le4Der, 2021-12-02 13:26:48

Why is the function not being called?

https://www.npmjs.com/package/wdio-intercept-service

I write the code as in the example (Usage with WebDriver Standalone section):

import WebdriverAjax from 'wdio-intercept-service';
const interceptServiceLauncher = WebdriverAjax();


And I get an error from TS. Is the documentation not up to date or am I doing something wrong?
Cannot use namespace 'WebdriverAjax' as a value.ts(2708)


How to fix it?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question