feat(keyboard): add array overload to pressSequentially#40748
feat(keyboard): add array overload to pressSequentially#40748SebTardif wants to merge 1 commit intomicrosoft:mainfrom
Conversation
Add string[] overload to Locator.pressSequentially and new Keyboard.pressSequentially method, as requested in microsoft#40740. When given an array, each element is treated as a key name (same format as keyboard.press()) and pressed sequentially with optional delay between presses. Fixes microsoft#40740
Test results for "MCP"12 failed 7019 passed, 1068 skipped Merge workflow run. |
Test results for "tests 1"3 flaky41745 passed, 850 skipped Merge workflow run. |
Summary
string[]overload toLocator.pressSequentiallyso it can accept an array of key names in addition to a string of charactersKeyboard.pressSequentiallymethod mirroring the same behaviorkeyboard.press()) and pressed sequentially with optional delay between pressesUsage:
Fixes #40740