import { BaseComponent } from '@/shared/base/BaseComponent';

export class TextField extends BaseComponent {
  private readonly input = this.host.locator('input[type=text]');

  fill(value: string): Promise<void> {
    return this.input.fill(value);
  }

  clear(): Promise<void> {
    return this.input.clear();
  }
}
