[Webkit-unassigned] [Bug 222466] New: Click at Offset doesn't seem to work on iOS12

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 26 03:33:21 PST 2021


https://bugs.webkit.org/show_bug.cgi?id=222466

            Bug ID: 222466
           Summary: Click at Offset doesn't seem to work on iOS12
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Other
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebDriver
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: lukehill_uk at hotmail.com
                CC: bburg at apple.com

When using iPhone 8 on iOS12 I am attempting to click on an offset. The actual scenario is

Clicking off a menu will close the menu.

We have tried the following.

In Ruby Capybara -> `element.click(x: 0, y: 400)`
In raw selenium -> `element.click(x: 0, y: 400)`
In ActionBuilder -> `ab.move_to(el, 1, 400).perform`

All three throw errors. Deep-diving into the errors suggests the endpoint doesn't exist.

The lowest level error (ActionBuilder), is below

```
ab.move_to(el, 1, 400).perform
=> An unknown server-side error occurred while processing the command. Original error: Error Domain=com.facebook.WebDriverAgent Code=1 "Unsupported origin type '{
    ELEMENT = 5004;
    "element-6066-11e4-a52e-4f735466cecf" = 5004;
}' is set for '{
    duration = 250;
    origin =     {
        ELEMENT = 5004;
        "element-6066-11e4-a52e-4f735466cecf" = 5004;
    };
    type = pointerMove;
    x = 0;
    y = 0;
}' action item. Supported origin types: (
    pointer,
    viewport
) or an element instance" UserInfo={NSLocalizedDescription=Unsupported origin type '{
    ELEMENT = 5004;
    "element-6066-11e4-a52e-4f735466cecf" = 5004;
}' is set for '{
    duration = 250;
    origin =     {
        ELEMENT = 5004;
        "element-6066-11e4-a52e-4f735466cecf" = 5004;
    };
    type = pointerMove;
    x = 0;
    y = 0;
}' action item. Supported origin types: (
    pointer,
    viewport
) or an element instance}
```

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210226/2020979d/attachment.htm>


More information about the webkit-unassigned mailing list