L
L
linkastan2019-07-19 18:14:07
Python
linkastan, 2019-07-19 18:14:07

How to quickly insert text into input in Selenium?

Sendkeys inserts for a very long time, googled, they write what is possible with ctrl + V, but I did not find anywhere how to put this text into the buffer first. How to solve this problem?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
linkastan, 2019-07-20
@linkastan

did so
browser.execute_script("document.getElementById('idelem').setAttribute('value','value');")

1
1001001, 2019-07-19
@1001001

No buffers needed
How to speed up input in Internet Explorer (IE) 11 in Selenium tests?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question