Click when we need to key down?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Click when we need to key down?

p0deje
Hey guys,

https://github.com/SeleniumHQ/selenium/issues/4865 revealed an interesting case when simulation of key down in Actions API event executes click prior to key down. We had a quick conversation on IRC with Alexei Barancev and he says it’s possible this is done for focusing on an element, but it’s still not clear why would it be done automatically. The specification is also vague and doesn’t explain anything.

Does anybody know why actions are implemented this way? Maybe we should consider changing it so that it’s users’ responsibility to focus element when they need.

Quoting Alexei: “Actions usually follow “do what I say" mantra, not "do what I mean".

--
You received this message because you are subscribed to the Google Groups "Selenium Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-developers/CAP_8%3DB7geLAp7tDe4q_O97Mp2%3DHSpV8%2BwP%3DFV7kVBCwo-GGPsw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.