Skip to content
This repository has been archived by the owner on Sep 3, 2020. It is now read-only.

clearAndType() doesn't trigger a focus / focusin event #191

Open
aaarichter opened this issue Nov 30, 2016 · 2 comments
Open

clearAndType() doesn't trigger a focus / focusin event #191

aaarichter opened this issue Nov 30, 2016 · 2 comments

Comments

@aaarichter
Copy link

When using clearAndType() I noticed that this function does not trigger any focus event(s), which occur with real input interaction.

@jkrems
Copy link
Contributor

jkrems commented Nov 30, 2016

Thanks for the report! Since this could be an issue with the browser being used - are you using PhantomJS? If so which version? Is this happening with other ("real") browsers as well?

@aaarichter
Copy link
Author

Hey @jkrems

I run phantomJS v2.1.1 via phantomjs-prebuilt v2.15.9 https://www.npmjs.com/package/phantomjs-prebuilt which is installed globally.

Not sure how other browser behave.

My current workaround is to click the input first and then run clearAndType()

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants