You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 29, 2018. It is now read-only.
In Safari, if you focus on a text input element (using JS), change its value, then focus
on another element, the "change" event is not fired. Since the bot.action.type atom
leaves focus in the element, the change event would not fire on sendKey. The change
should fire on a subsequent command when focus is changed.
Safari does not detect the changed value (since it was done via JS), so it will not
automatically fire the change event. This means we'll need to track focus in the driver
and manually fire the change event where appropriate.
This causes the following test to fail:
JavascriptEnabledDriverTest#testChangeEventIsFiredAppropriatelyWhenFocusIsLost
Reported by jmleyba on 2012-06-11 03:43:53
The text was updated successfully, but these errors were encountered:
On comment #1, I believe the bug description specifies the workaround. You just need
to manually fire/execute the onChange event for the specified element via executing
the proper javascript. It means you'd need to know what is the proper javascript code
to execute for onChange event against given element. Your website/app developers can
probably help out with that.
This issue was updated by revision r17356.
Suppressing JavascriptEnabledDriverTest#testChangeEventIsFiredAppropriatelyWhenFocusIsLost
until bug is fixed.
Originally reported on Google Code with ID 4061
Reported by
jmleyba
on 2012-06-11 03:43:53The text was updated successfully, but these errors were encountered: