Trying to check the on screen state of an element which changes from :
class="slide-out-div contrastBoxDark closed"
to
class="slide-out-div contrastBoxDark"
however using
Page Should Contain Element class:slide-out-div.contrastBoxDark
returns
InvalidSelectorException: Message: invalid selector: Compound class names not permitted
if the compound class name isn't permitted, what is a suitable locator and attribute here? Tried this, but it doesn't locate:
css:slide-out-div.contrastBoxDark
class:slide-out-div? If that locates the element, then you can get the value of theclassattribute and compare it to the expected. - Bryan Oakley