ElementHandle.Type types with the different speed time in v1.12.2
See original GitHub issueHello, everyone, I really hope that someone will be able to help me with this issue:
Well, I’m having troubles with elementHandle.type because it types string variables in Input sides all the time with the diffrent speed and I’m really do not know why it works like this. The text can be typed into the input as fast as it only could be, but then text typed into this input one character by one character and it lasts for 3-4 seconds.
I’m using this code:
await page.type(inputSelector, text);
There is no slowMo, there is no global delay, so I’m realy confused about this.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
ElementHandle.type() method - Puppeteer
ElementHandle.type() method. Focuses the element, and then sends a keydown , keypress / input , and keyup event for each character in the...
Read more >/vendor/puppeteer/docs/api.md | puppeteer_plus@0.12.0 | Deno
Puppeteer is a Node library which provides a high-level API to control Chromium or Chrome over the DevTools Protocol. The Puppeteer API is...
Read more >Puppeteer documentation - DevDocs
Puppeteer 7.1.0 API documentation with instant search, offline support, keyboard shortcuts, mobile version, and more.
Read more >mozilla-central: changeset 488667 ...
dock at bottom or dock at side has different layout return singleRow ? span( ... charAt(0)), + }; + + if (TYPES[p.type] ==...
Read more >A Message-Passing Interface Standard - MPI Forum
4.1.1 Type Constructors with Explicit Addresses . ... 17.1.6 MPI for Different Fortran Standard Versions . ... At that time, effort fo-.
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
If you are typing a large amount of text, like a few kilobytes, it could take that amount of time.
If you don’t care about actual key presses, you can use
page.keyboard.sendCharacter(text)
to do something akin to pasting in the text. That will be almost instantaneous.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!