I am getting the following error:
\"Compound class names not permitted\"
While trying to access web element where-in the elemen
Most of the time class name attribute of any element has groups of classes names. like class = 'alert alert-success another class name'
if you are using css selector ,then just remove spaces between the class names and create you clas name like below : driver.findElement(By.cssSelector(".alert.alert-success.another.class.name")
. => represent class
for CSS selector.