Skip to content

Commit 12cbb5d

Browse files
DavertMikclaude
andcommitted
fix: drop redundant iframe body click in rich editor fill
selectAllInEditable already focuses the body via JS; the extra click was only there to mimic Playwright's force-click semantics. In WebDriver the click resolved viewport coords through the iframe, so CKEditor 4's parent-scope notification overlay intercepted it. Removing the click makes all 48 iframe tests pass in WebDriver without affecting Playwright or Puppeteer. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 9f5f2f4 commit 12cbb5d

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

lib/helper/extras/richTextEditor.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ export async function fillRichEditor(helper, el, value) {
9696

9797
if (kind === EDITOR.IFRAME) {
9898
await target.inIframe(async body => {
99-
await body.click({ force: true })
10099
await body.evaluate(selectAllInEditable)
101100
await body.typeText(value, { delay })
102101
})

0 commit comments

Comments
 (0)