Skip to content

Commit

Permalink
Select the iframe using its title
Browse files Browse the repository at this point in the history
  • Loading branch information
talldan committed Apr 13, 2022
1 parent 52884a3 commit 64cb3d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/e2e-test-utils-playwright/src/page/site-editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 64cb3d6

Please sign in to comment.