Skip to content

Instantly share code, notes, and snippets.

@rodrigojmartin
Created June 14, 2022 08:21
Show Gist options
  • Save rodrigojmartin/79a28852499387a17c04203510504fe9 to your computer and use it in GitHub Desktop.
Save rodrigojmartin/79a28852499387a17c04203510504fe9 to your computer and use it in GitHub Desktop.
import { by, Target } from '@serenity-js/webdriverio';
export class TodoMVCApp {
static newTodoField = Target.the('new todo field').located(by.css('.new-todo'));
static recordedItems = Target.all('recorded items').located(by.css('.todo-list li'));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment