[Webkit-unassigned] [Bug 202589] Unable to Click on Safari 13

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 22 02:43:03 PST 2019


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

Jimmy Collazos <jimmy.collazos at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jimmy.collazos at gmail.com

--- Comment #21 from Jimmy Collazos <jimmy.collazos at gmail.com> ---
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

-- 
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/20191122/79259300/attachment-0001.htm>


More information about the webkit-unassigned mailing list