Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
private String pathPictures = "src//test//resources//pictures//";
public void clicarNoMenu(String nomeMenu) throws FindFailed {
screen.wait(pathPictures + "menu//" + nomeMenu + ".png");
screen.click(pathPictures + "menu//" + nomeMenu + ".png");
}
public void clicarNoSubMenu(String nomeSubMenu) throws FindFailed {
screen.wait(pathPictures + "submenu//" + nomeSubMenu + ".png");
screen.click(pathPictures + "submenu//" + nomeSubMenu + ".png");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.