I want to avoid using xpath in my java selenium code but cannot figure out what the css equivalent to the code below would be
("xpath", "//div[@class='error'][not(contains(@style,'display: none'))]");
Does anyone know if there is a CSS equivalent to xpath not contains