mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00: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);
|
|
}
|
|
}
|