diff --git a/Main.java b/Main.java new file mode 100644 index 00000000..66a6a977 --- /dev/null +++ b/Main.java @@ -0,0 +1 @@ +#just a sample file \ No newline at end of file diff --git a/Readme.md b/Readme.md index 8339fb3d..b701e043 100644 --- a/Readme.md +++ b/Readme.md @@ -7,7 +7,7 @@ Make sure you have JAVA 10 or above installed to run this test ~~~~ # Upgraded to Cucumber 4 -The code is now upgraded to Cucumber 4 with new +The code is now upgraded to Cucumber 4 with new one # Upgraded to Cucumber-JVM 5 The code is now upgraded to Cucumber 4 with new diff --git a/src/main/java/com/ea/Main.java b/src/main/java/com/ea/Main.java index 1e8949c6..dad14cca 100644 --- a/src/main/java/com/ea/Main.java +++ b/src/main/java/com/ea/Main.java @@ -164,6 +164,7 @@ private static void Selenium4MiscFetures(ChromeDriver chromeDriver){ var checkbox = chromeDriver.findElement(withTagName("input").below(By.name("Male")).toLeftOf(By.name("Hindi"))); checkbox.click(); System.out.println(checkbox.getAttribute("name")); + System.out.println(checkbox.getAttribute("type")); var txtIntial = chromeDriver.findElement(withTagName("input")