[Webkit-unassigned] [Bug 202589] Unable to Click on Safari 13
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Dec 17 23:02:18 PST 2019
https://bugs.webkit.org/show_bug.cgi?id=202589
arian.ics at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |arian.ics at gmail.com
--- Comment #26 from arian.ics at gmail.com ---
(In reply to Jimmy Collazos from comment #21)
> I have the same problem, but in my case is when the element is in shadow-dom
>
> Idea:
> =======
> The element exist; but the service can't find and then execute
> "Window.getComputedStyle" with null, undefined or similar
>
>
> Safaridrier Version:
> ====================
> "included with Safari 13.0.3 (14608.3.10.10.1)"
>
>
> Reproduce Requests:
> ===================
> [POST]
> http://127.0.0.1:4444/session/08D37203-AEDD-43DF-990A-900EC182648A/element
> -> DATA { using: 'css selector', value: 'shop-app' }
> -> RESULT { 'element-6066-11e4-a52e-4f735466cecf':
> 'node-D5A74127-717A-4BFB-8E13-1AE3A6D96A5C' }
>
> [POST]
> http://127.0.0.1:4444/session/08D37203-AEDD-43DF-990A-900EC182648A/execute/
> sync
> -> DATA {
> script: 'return (function (elem) {return (function() {if (this.shadowRoot)
> {return this.shadowRoot.querySelector(\'shop-home\')}return
> this.querySelector(\'shop-home\')}).call(elem);}).apply(null, arguments)',
> args: [ { 'element-6066-11e4-a52e-4f735466cecf':
> 'node-D5A74127-717A-4BFB-8E13-1AE3A6D96A5C', ELEMENT:
> 'node-D5A74127-717A-4BFB-8E13-1AE3A6D96A5C' } ]
> }
> -> RESULT { 'element-6066-11e4-a52e-4f735466cecf':
> 'node-5D1721C6-39B1-425E-8751-2DF193491171' }
>
> [POST]
> http://127.0.0.1:4444/session/08D37203-AEDD-43DF-990A-900EC182648A/element/
> node-5D1721C6-39B1-425E-8751-2DF193491171/click
> ->ERROR-RESULT: A JavaScript exception occured: Argument 1 ('element') to
> Window.getComputedStyle must be an instance of Element
I am also running into this issue calling click or clear on an element inside shadowdom.
http://127.0.0.1:4444/wd/hub/session/3957A8DD-87E9-47FA-BBA1-5F3FE9AB511C/element/node-D45B7A71-2F93-49D6-98AD-9821E0A0BCCC/clear
Resp: Argument 1 ('element') to Window.getComputedStyle must be an instance of Element
--
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/20191218/7bd56360/attachment-0001.htm>
More information about the webkit-unassigned
mailing list