SeleniumBasic
SeleniumBasic copied to clipboard
Specify number of times to perform sendkeys action
In VBA I can specify the number of times to perform a SendKeys operation with syntax such as Application.SendKeys "{TAB 2}".
I can perform the SendKeys in a loop but is there something similar to the above please? When I have performed a long loop I get "unable to connect to the remote server" error during the loop.
Thanks
You could try something like: Application.SendKeys string(2, vbKeyTab)
On Fri, 5 Oct 2018 at 08:59, quentinharris [email protected] wrote:
In VBA I can specify the number of times to perform a SendKeys operation with syntax such as Application.SendKeys "{TAB 2}".
I guess with selenium basic I can perform the SendKeys in a loop but is there something similar to the above please?
Thanks
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/florentbr/SeleniumBasic/issues/177, or mute the thread https://github.com/notifications/unsubscribe-auth/AJlnWiWzV3g20jSpcNR6wc0p1KGMm5Jsks5uhwNegaJpZM4XJqew .
You could try something like: Application.SendKeys string(2, vbKeyTab) … On Fri, 5 Oct 2018 at 08:59, quentinharris @.***> wrote: In VBA I can specify the number of times to perform a SendKeys operation with syntax such as Application.SendKeys "{TAB 2}". I guess with selenium basic I can perform the SendKeys in a loop but is there something similar to the above please? Thanks — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#177>, or mute the thread https://github.com/notifications/unsubscribe-auth/AJlnWiWzV3g20jSpcNR6wc0p1KGMm5Jsks5uhwNegaJpZM4XJqew .
That sounds like a great idea. I will give it a go later.