florentbr / SeleniumBasic

A Selenium based browser automation framework for VB.Net, VBA and VBScript
BSD 3-Clause "New" or "Revised" License
431 stars 197 forks source link

Send key takes longer time when there is a long string #234

Open dileepachathuranga opened 2 years ago

dileepachathuranga commented 2 years ago

When there is a long string value need to paste, it takes lot of time. Instead of send keys to input data to a text field, can we use like element.value = "sss"?

Gby3 commented 2 years ago

How long is that taking? Should be fast enough. There are a few workarounds though but not recommended in some cases. You can modify element attributes using the javascript executor. driver.ExecuteScript()