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
I believed that the click within an action chain should be where the cursor has been moved to through the moveToElementWithOffset. However, the code would always trigger as though there was no offset.
My code now functions correctly, and it is triggering as if clicked at the offset.
So I am curious, is it deliberate that click as part of an action chain does not respect the cursor location? If so, is there a more appropriate action I can use for a single click, or should I stick to using the clickAndHold/release pattern?
My current code under test is not open source but if required I will try to mock up a demonstration of this.
I am using Iceweasel 17 and webdriver 2.37.0
The text was updated successfully, but these errors were encountered:
I am testing an application where the location of a click within an element matters to the outcome.
My original code was:
I believed that the click within an action chain should be where the cursor has been moved to through the moveToElementWithOffset. However, the code would always trigger as though there was no offset.
Replacing the code with
My code now functions correctly, and it is triggering as if clicked at the offset.
So I am curious, is it deliberate that click as part of an action chain does not respect the cursor location? If so, is there a more appropriate action I can use for a single click, or should I stick to using the clickAndHold/release pattern?
My current code under test is not open source but if required I will try to mock up a demonstration of this.
I am using Iceweasel 17 and webdriver 2.37.0
The text was updated successfully, but these errors were encountered: