How to cancel pending request with jQuery in JavaScript Selenium?

Multi tool use
up vote
0
down vote
favorite
I have a website with many users clicking 1 button. It appears to make no sense to wait until pending jQuery long, 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:
- Page should NOT be reloaded,
- nothing disabled on driver
javascript jquery selenium
New contributor
Oleksandr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
up vote
0
down vote
favorite
I have a website with many users clicking 1 button. It appears to make no sense to wait until pending jQuery long, 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:
- Page should NOT be reloaded,
- nothing disabled on driver
javascript jquery selenium
New contributor
Oleksandr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Java and JavaScript are 2 very different languages. You meant JavaScript, not Java, right? I've edited the text of your question, please make sure it does describe your issue. I also suggest adding the relevant code into your question
– YakovL
2 days ago
Thank you, all right, waiting for the answer
– Oleksandr
2 days ago
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have a website with many users clicking 1 button. It appears to make no sense to wait until pending jQuery long, 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:
- Page should NOT be reloaded,
- nothing disabled on driver
javascript jquery selenium
New contributor
Oleksandr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I have a website with many users clicking 1 button. It appears to make no sense to wait until pending jQuery long, 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:
- Page should NOT be reloaded,
- nothing disabled on driver
javascript jquery selenium
javascript jquery selenium
New contributor
Oleksandr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Oleksandr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited 2 days ago
YakovL
2,736102237
2,736102237
New contributor
Oleksandr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 2 days ago
Oleksandr
1
1
New contributor
Oleksandr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Oleksandr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Oleksandr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Java and JavaScript are 2 very different languages. You meant JavaScript, not Java, right? I've edited the text of your question, please make sure it does describe your issue. I also suggest adding the relevant code into your question
– YakovL
2 days ago
Thank you, all right, waiting for the answer
– Oleksandr
2 days ago
add a comment |
Java and JavaScript are 2 very different languages. You meant JavaScript, not Java, right? I've edited the text of your question, please make sure it does describe your issue. I also suggest adding the relevant code into your question
– YakovL
2 days ago
Thank you, all right, waiting for the answer
– Oleksandr
2 days ago
Java and JavaScript are 2 very different languages. You meant JavaScript, not Java, right? I've edited the text of your question, please make sure it does describe your issue. I also suggest adding the relevant code into your question
– YakovL
2 days ago
Java and JavaScript are 2 very different languages. You meant JavaScript, not Java, right? I've edited the text of your question, please make sure it does describe your issue. I also suggest adding the relevant code into your question
– YakovL
2 days ago
Thank you, all right, waiting for the answer
– Oleksandr
2 days ago
Thank you, all right, waiting for the answer
– Oleksandr
2 days ago
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Oleksandr is a new contributor. Be nice, and check out our Code of Conduct.
Oleksandr is a new contributor. Be nice, and check out our Code of Conduct.
Oleksandr is a new contributor. Be nice, and check out our Code of Conduct.
Oleksandr is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53237880%2fhow-to-cancel-pending-request-with-jquery-in-javascript-selenium%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
ZZl,vtGmULflNDbPrfVU,tuqj,obV27sz8m,TUCmDrd9e 3kUl1F Vzf,hXKG2zA,CsHJiSpDpl,IX QPuBdBAcCx4,SoXORbsTvD5z
Java and JavaScript are 2 very different languages. You meant JavaScript, not Java, right? I've edited the text of your question, please make sure it does describe your issue. I also suggest adding the relevant code into your question
– YakovL
2 days ago
Thank you, all right, waiting for the answer
– Oleksandr
2 days ago