Skip to content

Commit 7662879

Browse files
committed
Update Selenium Java Demo
1 parent 7bef22b commit 7662879

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<dependency>
1818
<groupId>com.applitools</groupId>
1919
<artifactId>eyes-selenium-java5</artifactId>
20-
<version>5.57.0</version>
20+
<version>5.80.0</version>
2121
<scope>test</scope>
2222
</dependency>
2323
<dependency>

src/test/java/com/applitools/example/AcmeBankTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ public static void main(String [] args) {
5555
// Full Page - Visual AI Assertion
5656
eyes.check(Target.window().fully().withName("Login page"));
5757

58-
driver.findElement(By.id("username")).sendKeys("user");
59-
driver.findElement(By.id("password")).sendKeys("password");
58+
driver.findElement(By.id("username")).sendKeys("Chris");
59+
driver.findElement(By.id("password")).sendKeys("CorrectHorseBatteryStaple");
6060
driver.findElement(By.id("log-in")).click();
6161

6262
// Full Page - Visual AI Assertion

src/test/java/com/applitools/example/LayoutRegionsTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ public static void main(String [] args) {
5757
// Full Page - Visual AI Assertion
5858
eyes.check(Target.window().fully().withName("Login page"));
5959

60-
driver.findElement(By.id("username")).sendKeys("user");
61-
driver.findElement(By.id("password")).sendKeys("password");
60+
driver.findElement(By.id("username")).sendKeys("Chris");
61+
driver.findElement(By.id("password")).sendKeys("CorrectHorseBatteryStaple");
6262
driver.findElement(By.id("log-in")).click();
6363

6464
// Full Page - Visual AI Assertion

0 commit comments

Comments
 (0)