find elements by xpath with commonality selenium pytho code example Example: selenium select element by id driver.findElement(By.id("ui-datepicker-div"));