-
Notifications
You must be signed in to change notification settings - Fork 585
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clearing input fields and sending modifier keys such as Ctrl key #155
Comments
Hi @dinesh3434, short answer is use the [clear] keyword, for example - Long answer, need to check as I have not tested modifier keys on Chrome. Sikuli integration using vision step should be able to send modifier keys as well but will need to test before sharing with you. |
I tried Chrome DevTools Protocol's Input.dispatchKeyEvent but result was not able to simulate the key entry with modifier keys. If you want to do more than the [clear] keyword above, you can try using the visual automation with Sikuli, which you can send custom keypresses using TagUI vision step. Will need to visually click the field first before doing the custom steps. More modifier keys definitions here. macOS
Windows
|
response from user
Also, let me know how we can use sikuli if it is possible to do so (I cannot use Xvfb or tigerVNC) my response I'm afraid Sikuli won't work without a screen or running in headless mode. It seems that Chrome technically can work with modifiers but haven't figure out a way for TagUI to do that. Can you tell me more about your use scenarios for modifier keys? |
user response The scenario is to manipulate online excel like sheets. Shift + arrow keys are used to select the data and manipulate the same. Hence, Modifier keys are required for the same. |
Reopening issue to explore further on modifier keys - Ic.. Thanks @dinesh3434 for sharing.. I'm reopening the issue to explore further. For your online excel sheet application, is it open for public, or it is similar to Google sheets that I can try testing on? Thanks :). It is similar to google sheets and you can try testing on the same. |
@dinesh3434 to prioritize on the other features, closing the issue as not supported for the use case of sending custom keystrokes in invisible mode (eg running without display adapter screen, no Xvbf on VM etc). during visible mode, users can use vision step to send custom commands to sikuli, for eg
List of key modifiers, special keys, and examples - http://doc.sikuli.org/keys.html update |
fyi @Aussiroth @lohvht |
Raising on behalf of user's email so that other users can benefit -
Have started using TagUi and fascinated with it.
I have a input field which has default test already in it, which needs to be deleted before entering any text.
Manually this can be achieved using [ctrl+A] and [delete] keyboard combination. How can this be achieved in TagUI file?.
In short, how do i send modifier keystrokes to the input field?.
Thanks in advance,
The text was updated successfully, but these errors were encountered: