woocommerce/plugins/woocommerce-admin/tests/e2e/elements/BaseElement.ts

12 lines
224 B
TypeScript

import { Page } from 'puppeteer';
export abstract class BaseElement {
protected page: Page;
protected selector: string;
constructor( page: Page, selector: string ) {
this.page = page;
this.selector = selector;
}
}