AI123 Posted September 6, 2019 Posted September 6, 2019 (edited) Now I use this: ;for loop _WD_ElementAction($sSession,$sButton_TAGS,'value', $string_split[$z] & ' ') ;Send(" ") -> doesn't work properly for me here Sleep(200) Send("{ENTER}") But the problem is: if I forget to activate the browser the enter key is pressed otherwhere. Sometimes my AutoIt code window was activated and was changed by enter keys. So I want to isolate the script so it only works in the browser. Is there a way to send the enter and other control keys with _WD_ElementAction or other _WD function instead of use Send? Edited September 6, 2019 by AI123
Gianni Posted September 6, 2019 Posted September 6, 2019 You can try this: _WD_ElementAction($sSession,$sButton_TAGS,'value', $string_split[$z] & "\uE006") p.s. have a look here: https://w3c.github.io/webdriver/#keyboard-actions AI123 1 Chimp small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt....
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now