Created
February 11, 2016 10:54
-
-
Save RiverGlide/2eb1f3e2dc0a700e99fd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package net.serenitybdd.demos.todos.user_interface; | |
import net.serenitybdd.screenplay.targets.Target; | |
public class TodoListItem { | |
public static Target COMPLETE_ITEM = the(“Complete item tick box”).locatedBy( “//*[@class=’view’ and contains(.,’{0}’)]//input[@type=’checkbox’]”); | |
public static Target DELETE_ITEM = the(“Delete item button”).locatedBy( “//*[@class=’view’ and contains(.,’{0}’)]//button[@class=’destroy’]”); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment