csf-dev / CSF.Screenplay

Implementation of the Screenplay pattern (aka Journey) in .NET
https://csf-dev.github.io/CSF.Screenplay/
MIT License
13 stars 1 forks source link

To correctly handle key-presses, developers should be able to use KeyPress actions #232

Closed craigfowler closed 1 week ago

craigfowler commented 5 years ago

Previously, all actions in which lets we sent to the browser have been done via some "Enter the text" actions. This ticket is to create some actions specifically for pressing specific keys.

This differs a little to sending a text string to an element but instead sending specific keyboard keys.

This action will need a builder, an action class and a class containing constants for the various keyboard keys.

craigfowler commented 1 week ago

Not required, use the Keys class (from Selenium) to send special keys just the same as other strings.