If there is an id available for an object in a page, find element by ID or CSS - which is faster?
element(by.id("btnButtonID")) OR element(by.css("#btnButtonID")
element(by.id("btnButtonID")) OR element(by.css("#btnButtonID")
Since we can identify any objects using cssCSS locator, is it a standard practice to use only cssCSS locator in our page objects? Does it help to look the code readable and cleaner?