lefthandedgoat / canopy

f# web automation and testing library, built on top of Selenium (friendly to c# also)
http://lefthandedgoat.github.io/canopy/
MIT License
507 stars 115 forks source link

add checkedWrite and a custom operator. #489

Closed ajuch closed 4 years ago

ajuch commented 5 years ago

The Webapplication I need to test uses reactive vars and the regular write operator (using .SendKeys() of selenium) leads to lost input. So when typing a string into an input field, every third character is lost, probably because of the JS processing involved.

I had to create a helper which types and verifies that the input is visible in the field;

This PR is just a quick and dirty implementation of that behavior, if you consider it to be relevant for a larger audience, I'd refactor it.

lefthandedgoat commented 5 years ago

Cool thanks @ajuch !