No no. You cannot combine / add selectors. In any case, this is not true. However, you can write a selector in such a way as to cover all the scenarios and use it withfindElements()
By byXpath = By.xpath("//input[(@id='id_Start') and (@class = 'blabla')]")
List<WebElement> elements = driver.findElements(byXpath);
This should return you a list of items with tags inputthat have a class name blablaorid id_Start
source
share