Locating an element by id
Your question is very difficult to answer, certainly to give a single conclusive answer. In fact, I am tempted to flag this question as “too broad”, which is supported by the other answers and comments. Take, for example, just your element(by.id(“id”));. Looking through the Selenium source, most drivers just take whatever id you give, and … Read more