diff --git a/examples/java/src/test/java/dev/selenium/interactions/FramesTest.java b/examples/java/src/test/java/dev/selenium/interactions/FramesTest.java index be57fcf589b8..b6ff81ae052f 100644 --- a/examples/java/src/test/java/dev/selenium/interactions/FramesTest.java +++ b/examples/java/src/test/java/dev/selenium/interactions/FramesTest.java @@ -41,7 +41,7 @@ public void informationWithElements() { driver.switchTo().frame(iframe); assertEquals(true, driver.getPageSource().contains("We Leave From Here")); //Now we can type text into email field - WebElement emailE= driver.findElement(By.id("email")); + WebElement emailE = driver.findElement(By.id("email")); emailE.sendKeys("admin@selenium.dev"); emailE.clear(); driver.switchTo().defaultContent(); @@ -52,7 +52,7 @@ public void informationWithElements() { //Switch to the frame driver.switchTo().frame(iframe); assertEquals(true, driver.getPageSource().contains("We Leave From Here")); - WebElement email=driver.findElement(By.id("email")); + WebElement email = driver.findElement(By.id("email")); //Now we can type text into email field email.sendKeys("admin@selenium.dev"); email.clear(); @@ -71,4 +71,4 @@ public void informationWithElements() { driver.quit(); } -} \ No newline at end of file +}