laurentj / slimerjs

A scriptable browser like PhantomJS, based on Firefox
http://slimerjs.org
Other
3k stars 258 forks source link

page.sendEvent('keypress', "asdf"); - Not working on flash page #701

Open steveeakin opened 6 years ago

steveeakin commented 6 years ago

versions

Steps to reproduce the issue

  1. Highlight textbox on a flash app (via mouse click event)
  2. page.sendEvent('keypress', "abc");

Actual results:

No text is entered

Expected results:

Text should be entered - If I pause Slimer execution at this point, I can type on my keyboard and the element is populated as expected.

Yes, I know flash sucks -- but apparently people still use it and I gotta automate with it...