Selenium webdriver, Python - target partial CSS selector?
css=span.error -- Error
css=span.warning -- Warning
css=span.critical -- Critical Error
Simple above are the CSS Selectors we can use.
I am trying to target specific CSS elements on a page, but the problem is that they have varying selector names.  For instance, input#dp156435476435.textinput.wihtinnextyear.datepicker.hasDatepicker.error.  I need to target the CSS because i am specifcally looking for the .error at the end of the element, and that is only in the CSS (testing error validation for fields on a website.  I know if I was targeting class/name/href/id/etc, I could use xpath, but I'm not aware of a partial CSS selector in selenium webdriver.  Any help would be appreciated, thanks!