I am trying to use moveToElement(element,xoffset,yoffset) of the Actions class in selenium web driver (java) in FireFox 21. but it seems to not work. I have an extjs button control button that acts like a button as well as a dropdown (please view screenshots).

When I click on the “Save Changes” section, it saves the changes, and when I click the “down” button attached to it, it opens the list. refer to the DOM source for the same control.
<td class="x-btn-mc"><em id="ext-gen514" class="x-btn-split" unselectable="on"><button id="btn-ext-comp-1739" class=" x-btn-text save-changes" type="button"><u> S </u> ave Changes </button></em></td>
Now I can click on the “Save Changes” button, but I can’t click on the “drop down” button, providing some offset position in the moveToElement method.
I tried two options:
builder.moveToElement(element).moveByOffset(569, 5).click().build().perform();builder.moveToElement(element, 568, 5).click().build().perform();
but both of them do not work.
Control Dimensions (117 x 16)
Note. do not confuse offsets 568.5, as these offsets can still press the save changes button.
Is this method not yet supported in the latest web driver?
source share