Button click automation with JS?
-
Hello!
There is a site (not mine) where it was necessary to do autocomplete and auto-submit of the form. Wrote a custom script. Now, when you run the script, you can automatically fill in and submit the form.
Today I went to DevTools in the Network section and saw this picture (attached to this question). Tell me what all these lines mean, I myself could not figure it out at all. It's about the labels in the timing tab.
JavaScript Lorelei Sherman, Nov 2, 2020 -
Here is additional information about each of the stages that you can see in the Timing tab:
- Queueing . The browser queues requests when:
- There are higher priority requests.
- There are already six TCP connections open for this source, which is the limit. Applies to HTTP / 1.0 and HTTP / 1.1 only.
- Browser briefly allocates disk cache space
- There are higher priority requests.
- Stalled . The request may have been stopped for any of the reasons described in Queueing .
- DNS Lookup . The browser detects the IP address of the request.
- Initial connection . The browser establishes a connection including TCP handshake / retries and SSL negotiation.
- Proxy negotiation . The browser negotiates the request with the proxy.
- Request sent . The request is being sent.
- ServiceWorker Preparation . The browser starts the service worker.
- Request to ServiceWorker . The request is sent to the service worker.
- Waiting (TTFB) . The browser is waiting for the first byte of the response. TTFB stands for Time to First Byte. This time includes 1 round trip delay and the time taken by the server to prepare the response.
- Content Download . The browser receives a response.
- Receiving Push . The browser receives data for this response via HTTP / 2 Server Push.
- Reading Push . The browser reads the previously received local data.
Source .Anonymous - Queueing . The browser queues requests when:
1 Answers
Your Answer
To place the code, please use CodePen or similar tool. Thanks you!