How to get request when click?
See original GitHub issueHow to make the request sent by the click element match it, and get all the requests when I click, page.on ('response')
will get all the requests, which is very confusing. page.waitForResponse (response, => response.ok ())
can only get one, what do I need to do?
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Sending GET Request when Button is Clicked
First, you add jQuery in your html file. We use ajax method for send request. Here is my ...
Read more >How do I send a GET request using JavaScript?
To send GET requests from Node.js, you can use the "http" built-in ... Click "Run" to run the sample JavaScript GET request online...
Read more >How to get http Request for a Link when click
How to pass http request when clicking the link. In view i have a link like this. Copy Code @foreach($productTags as $tags) <a ......
Read more >Make an Http request on click in React
To make an http request on click in React, set the `onClick` prop on an element. Every time the element is clicked, make...
Read more >How to make a POST request without asking user to click ...
To add an object to a POST request in JavaScript, you can use the FormData object to create a form with the object...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeah, the only way I could think for solving this, would be a flag that you turn on before clicking and you turn off after getting the request, but that’s not 100% accurate. You have to think that a single click might trigger lots of requests.
We are closing this issue. If the issue still persists in the latest version of Puppeteer, please reopen the issue and update the description. We will try our best to accomodate it!