Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <label for="edit-submitted-name">Name </label>
- <label for="edit-submitted-name" class="error">Name </label>
- if (driver.getPageSource().contains("error")) {
- System.out.println("Validation down");
- } else {
- System.out.println("Validation okay");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement