Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 97756

How to cancel pending request with jQuery in JavaScript Selenium?

$
0
0

I have a website with many users clicking 1 button. It appears to make no sense to wait until long-pending ajax request gets response, sometimes more than 1 min. I know how to wait for it, but how to cancel it?

How to cancel all pending requests with jquery.min.js if:

  1. Page should NOT be reloaded,
  2. nothing disabled on driver

Viewing all articles
Browse latest Browse all 97756

Trending Articles