Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Find elements with an id, class or name derived By selector where possible #333
Originally created by SergeyA.
I believe it is because all selectors are translated to By.cssSelector in NonEmptyNavigator.find without any optimizations by selector type.
changed the title from
$ function uses By.cssSelector even for simple selectors by id
Find elements with an id, class or name derived By selector where possible
Jul 6, 2015
I'm not sure that we should be getting into parsing css selectors as this is complex and best left to driver implementations. Given that, if you use a css selector (
The implementation has been changed to use an appropriate