question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ElementHandle.Type types with the different speed time in v1.12.2

See original GitHub issue

Hello, 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:closed
  • Created 4 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

12reactions
JoelEinbindercommented, Apr 22, 2019

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.

0reactions
stale[bot]commented, Jul 26, 2022

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!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found