8 lines
199 B
TypeScript
8 lines
199 B
TypeScript
import {ElementPO} from './ElementPO';
|
|
|
|
export class CheckboxElementPO extends ElementPO {
|
|
async toggle(enabled?: boolean) {
|
|
await this.getLocator().setChecked(Boolean(enabled));
|
|
}
|
|
}
|