Commit 26b5586
committed
Fix iframe strict mode violation when 2 iframes exist
The Falcon console sometimes renders a hidden iframe alongside the app
extension iframe. Using locator('iframe') fails with "strict mode
violation: resolved to 2 elements". Adding .first() targets the visible
iframe and avoids the error.1 parent d102f8e commit 26b5586
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
0 commit comments