On 23 Apr 2015, at 12:26, Sudhansu Sekhar panda wrote:
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.
ID attributes are not only case-sensitive, they are the unique identifiers of the DOM, which means "foo" is different from "Foo":


This selector feature in particular should mirror the web platform.

You received this message because you are subscribed to the Google Groups "Selenium Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-developers+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-developers/88FCA49D-BD38-46CF-A970-CB67D9C51E81%40mozilla.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Discussion Posts


Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 4 | next ›
Discussion Overview
groupselenium-developers @
postedMay 5, '15 at 12:02a
activeMay 9, '15 at 2:12p



site design / logo © 2021 Grokbase