featurist / browser-monkey

Reliable DOM testing
https://browsermonkey.org
53 stars 6 forks source link

Cannot type into contenteditable #57

Open AlecRust opened 7 years ago

AlecRust commented 7 years ago

browser-monkey can typeIn() into:

But can't typeIn() into:

Which would be nice. It's not technically a form input however, so val() can't be used for fetching the value etc.

Any thoughts on working around this? Do people think this should be added?

refractalize commented 7 years ago

it makes some sense to support contenteditable, but would you expect to type HTML or text?

dereke commented 7 years ago

@AlecRust what do you think? typeIn text or html? or can you be in different modes? (not sure how content editable works)

AlecRust commented 7 years ago

I guess HTML ideally since contenteditable doesn't change it from being HTML, it just makes the text of that HTML editable by the browser.