diff --git a/packages/e2e-test-utils-playwright/src/page/site-editor.ts b/packages/e2e-test-utils-playwright/src/page/site-editor.ts index 374322dbde47e4..db05af31b3d89a 100644 --- a/packages/e2e-test-utils-playwright/src/page/site-editor.ts +++ b/packages/e2e-test-utils-playwright/src/page/site-editor.ts @@ -11,7 +11,7 @@ import { addQueryArgs } from '@wordpress/url'; */ import type { PageUtils } from './index'; -const VISUAL_EDITOR_SELECTOR = '.edit-site-visual-editor iframe'; +const VISUAL_EDITOR_SELECTOR = 'iframe[title="Editor canvas"i]'; interface SiteEditorQueryParams { postId: string | number;