Created
April 14, 2016 21:16
-
-
Save hoosteeno/f79c397f12c2719ae3c6197e62e24932 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if on_device: | |
# this event tells input's javascript that we | |
# are on fennec and came via a feedback prompt | |
fire_event = ('var e = document.createEvent("Events");' | |
'e.initEvent("FeedbackPrompted", true, false);' | |
'document.dispatchEvent(e);') | |
self.selenium.execute_script(fire_event) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment