Bug 195064 - Web Automation: cannot find nested iframe elements using Find Elements command
Summary: Web Automation: cannot find nested iframe elements using Find Elements command
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebDriver (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Brian Burg
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-02-26 13:08 PST by Brian Burg
Modified: 2019-02-26 14:53 PST (History)
6 users (show)

See Also:


Attachments
Patch (2.19 KB, patch)
2019-02-26 13:52 PST, Brian Burg
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Burg 2019-02-26 13:08:17 PST
.
Comment 1 Brian Burg 2019-02-26 13:08:34 PST
<rdar://problem/38673353>
Comment 2 Brian Burg 2019-02-26 13:52:02 PST
Created attachment 363017 [details]
Patch
Comment 3 Devin Rousso 2019-02-26 13:57:17 PST
Comment on attachment 363017 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=363017&action=review

rs=me

> Source/WebKit/WebProcess/Automation/WebAutomationSessionProxy.js:112
> +        if (value instanceof Array)

Should we also have an `instanceof Object` case?
Comment 4 Brian Burg 2019-02-26 14:15:58 PST
Comment on attachment 363017 [details]
Patch

Abandoning this patch, it doesn't solve the issue.
Comment 5 Brian Burg 2019-02-26 14:53:56 PST
After further analysis, WebKit is right here and client code is doing Bad Things. Closing.