xpath first selecting checkbox code example
Example: xpath find first checkbox
WebElement firstCheckbox = driver.findElement(By.xpath("//input[@type='checkbox'][1]"))
WebElement firstCheckbox = driver.findElement(By.xpath("//input[@type='checkbox'][1]"))