ulixee / hero

The web browser built for scraping
MIT License
649 stars 32 forks source link

Concept of copy-paste/one shot instead of type for interactions #224

Closed melehin closed 1 year ago

melehin commented 1 year ago

Hi!

I want to put a long text to textarea field. hero.interact({'type': '.....long text here....'}) takes a lot of time...

Is there a way to speedup it or put text into textarea as one shot?

I see one way only. It's execute JS code like this:

$("textarea").val('.....long text here....');

or

document.getElementById('textarea').value = '.....long text here....';
blakebyrnes commented 1 year ago

Hi @melehin, check out this issue for some details on improving speed: https://github.com/ulixee/hero/issues/138

melehin commented 1 year ago

Thx a lot!