using selenide and java need to validate/assert placeholder text on a field is displayed/exists. The HTML:
I know how to do it in selenium.But I am looking for a solution using selenide.
String password=driver.findElement(By.cssSelector("ur css path")).getAttribute("placeholder");
I need to validate that placeholder is present on this specific field.
Aucun commentaire:
Enregistrer un commentaire