custom attribute selenium

Solutions on MaxInterview for custom attribute selenium by the best coders in the world

showing results for - "custom attribute selenium"
Natan
10 Apr 2017
1driver.findElement(By.cssSelector("[foo=bar]"));
2driver.findElement(By.xpath("//div[@foo='bar']"));