AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
TypeScript ai-agentai-agent-toolsai-agentsai-agents-frameworkmcpmcp-servermcp-toolsmcpsn8n-alternativeno-code-automationworkflowworkflow-automationworkflows
import { Page, Locator } from '@playwright/test';
export interface IPageElement {
(...args: unknown[]): Locator;
}
export interface IPageAction {
(...args: unknown[]): Promise<void>;
}
export interface IPageGetter {
(...args: unknown[]): Locator;
}
export interface IPageObject {
url: string;
page: Page;
visit(): Promise<void>;
}
export abstract class BasePage implements IPageObject {
abstract url: string;
constructor(public readonly page: Page) {}
async visit(): Promise<void> {
await this.page.goto(this.url);
}
}