By.className constructor
const
By.className(
- String className
Returns an element whose class name contains the search value; compound class names are not permitted
Implementation
const By.className(String className) : this('class name', className);