Comments (6)
Any plans to support capturing web sockets in the future?
No current plans.
If not, what is the reason?
Time. You are welcome to contribute the functionality and its test cases if you desire to see it in wdio-intercept-service
. What free time I have to contribute to this project goes to PR reviews, fixing implementation bugs, and fixing/improving its test suite.
from wdio-intercept-service.
@christian-bromann Can you help here?
from wdio-intercept-service.
The iframe has a separate window context; you will need to activate that frame and install the interceptor in it.
from wdio-intercept-service.
@tehhowch Thanks for replying, I tried switching to frames and then setting up the interceptor via browser.setupInterceptor(); but this didn't work out.
from wdio-intercept-service.
@rahul-xenon how exactly does the iframe make requests? If it doesn't use the current value of the window's fetch
or XMLHttpRequest
, then it isn't going to be using the version that this library has intercepted. This library also does not intercept e.g. websockets or postMessage.
from wdio-intercept-service.
@rahul-xenon how exactly does the iframe make requests? If it doesn't use the current value of the window's
fetch
orXMLHttpRequest
, then it isn't going to be using the version that this library has intercepted. This library also does not intercept e.g. websockets or postMessage.
Any plans to support capturing web sockets in the future? If not, what is the reason?
from wdio-intercept-service.
Related Issues (20)
- Transition package from CJS to ESM HOT 3
- After updating to 4.3.0, attempting to get the network response when a filter is applied results in an error "Cannot read property trim of undefined" HOT 10
- (Version 4.2.2) Occasionally getting a java heap space error when running the network intercept too often HOT 1
- [Version 4.2.2] browser.disableInterceptor() is not a function HOT 1
- browser.getRequests() hanging without @wdio/sync module HOT 15
- Best practices with the wdio intercept service HOT 2
- Interceptor results are inconsistent
- Is there a way to abort the request? HOT 4
- Exception in .getRequests HOT 3
- Getting pending requests too HOT 1
- Intercepting segmentio messages HOT 5
- Not able to capture some api's called on Submit action HOT 4
- Cannot read property 'addCommand' of undefined HOT 11
- No request(empty array) returned from intercept service HOT 10
- Does getRequests() capture all the 'GET' calls in the network log? HOT 2
- can we have support async/await for wdio-intercept-service HOT 7
- Cypress does not intercept graphql query HOT 2
- Other request types not being collected HOT 7
- Getting [wdio-intercept-service]: the "index" property must be a non-negative integer error while trying to capture GET request HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wdio-intercept-service.