Skip to content

Commit 4ab09ee

Browse files
diemolDelta456
andauthored
Apply suggestions from code review
Co-authored-by: Swastik Baranwal <swstkbaranwal@gmail.com>
1 parent b661eb1 commit 4ab09ee

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

examples/java/src/test/java/dev/selenium/elements/InformationTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ public void informationWithElements() {
2828
assertTrue(isEmailVisible);
2929

3030
// isEnabled
31-
// returns true if element is enabled else returns false
31+
// returns true if element is enabled
3232
boolean isEnabledButton = driver.findElement(By.name("button_input")).isEnabled();
3333
assertTrue(isEnabledButton);
3434

3535
// isSelected
36-
// returns true if element is checked else returns false
36+
// returns true if element is checked
3737
boolean isSelectedCheck = driver.findElement(By.name("checkbox_input")).isSelected();
3838
assertTrue(isSelectedCheck);
3939

0 commit comments

Comments
 (0)