i want something like that:
> @FindBy(xpath = "//*[@class = 'ui primary fluid button
> js-start-free-trial']")
> private WebElementFacade tryUsNowButton;
>
> Screen s = new Screen();
> Pattern image = new Pattern("images/try-us-button.png");
make a screenshot of the tryUsNowButton and compare to image.
Aucun commentaire:
Enregistrer un commentaire