Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interceptor results are inconsistent #437

Open
qatestingresearcher opened this issue Nov 30, 2022 · 0 comments
Open

Interceptor results are inconsistent #437

qatestingresearcher opened this issue Nov 30, 2022 · 0 comments

Comments

@qatestingresearcher
Copy link

qatestingresearcher commented Nov 30, 2022

I am using the interceptor,browser is making API calls but only for some executions browser.getRequests is returning the values rest it is returning [], basically results are inconsistent while running multiple interreceptor scripts together

Tried the below options, but not having the consistency in results. So I assume it should be something with the pause.

  1. With the version wdio-intercept-service version 4.2.1 and 4.2.2
  2. With browser.getRequest({includingPending:true})
  3. Increased browser.pause(1000), but doesn't seems to make any difference.
    Any thoughts?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant