I want to get all class named = "panel-content" only, so i have done this:
driver.find_elements_by_css_selector("div.panel-content")
but it also selects the class named = "accordion-table panel-content", as it has "panel-content" string in it's name. but what i want is only "panel-content" class.how to do that?
right-click
->copy
->css selector
to copy the exact css selector for an element, maybe this helps.accordion-table panel-content
, that means that this element has both the classaccordion-table
andpanel-content