There should be a method similar to pressKey wich could press multiple keys in sequence
See original GitHub issueWhat are you trying to achieve?
Populating text to places which are not text fields or textareas.
What do you get instead?
As I can’t use fillField()
to achieve this, in these cases, I end up using multiple lines of pressKey()
, or sometimes transforming my string into an array and using a forEach()
on it to solve the problem.
I think that a method like pressKeys
would be ideal to solve problems like this.
I.pressKeys("My long text here...")
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (6 by maintainers)
Top Results From Across the Web
How to detect if multiple keys are pressed at once using ...
Generally, it'll work with the cases you would realistically want (ctrl, alt, shift), but if you need to hit, say, a+w at the...
Read more >Using your keyboard - Microsoft Support
In Help topics, a plus sign (+) between two or more keys indicates that those keys should be pressed in combination. For example,...
Read more >Simulate Keypresses In Python - Nitratine
This demonstrates how to press keys with Python. Using pynput we are able to simulate key presses into any window. This will show...
Read more >Key rollover - Wikipedia
Key rollover is the ability of a computer keyboard to correctly handle several simultaneous keystrokes. A keyboard with n-key rollover (NKRO) can correctly ......
Read more >Keyboard Events in Selenium Actions Class - Tools QA
keyDown(): This method simulates a keyboard action when a specific keyboard key needs to press. So, whenever you need to press a key...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I agree to add another method
We are in situation where it’s easier to add a new method to all helpers than update all current helpers to introduce a new behavior.
I.type
should be the best solution for now as it ca be combined withI.pressKeyDown
andI.pressKeyUp
.Any volunteers to implement it?
Or maybe enhance the
fillField
method