Hi All,
I have a suggestions to the the below methods.
We are facing one issue while inspecting the element having ID or xpaths etc in uppercase and lowercase.
For example the ID is "employee-Details" and if we write our code by mistake By.id("employee-details") then it will fail as IDs are case sensitive. So what I am suggesting is if we can update the ById() method which will return the ID in lowercase always to avoid any error by adding toLowerCase() method like below.
public ById(String id) {
}.
Note: Its just a suggestion :)
Thanks,
Sudhansu