mirror of
https://github.com/n8n-io/n8n.git
synced 2026-06-04 02:37:46 +02:00
16 lines
315 B
TypeScript
16 lines
315 B
TypeScript
import { BasePage } from './BasePage';
|
|
|
|
export class IframePage extends BasePage {
|
|
getIframe() {
|
|
return this.page.locator('iframe');
|
|
}
|
|
|
|
getIframeBySrc(src: string) {
|
|
return this.page.locator(`iframe[src="${src}"]`);
|
|
}
|
|
|
|
async waitForIframeRequest(url: string) {
|
|
await this.page.waitForResponse(url);
|
|
}
|
|
}
|