export class ComposedNoAliasTsPage { constructor( private locators: { email: { fill(v: string): Promise }; submit: { click(): Promise }; }, ) {} async signIn(email: string) { await this.locators.email.fill(email); await this.locators.submit.click(); } }