Skip to content

Commit 8d525f0

Browse files
committed
Update the css-to-xpath selector converter
1 parent 729ac88 commit 8d525f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

seleniumbase/fixtures/css_to_xpath.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def xpath_attrib_substringmatch(self, xpath, name, value):
3939

4040
def xpath_class(self, class_selector):
4141
xpath = self.xpath(class_selector.selector)
42-
return self.xpath_attrib_equals(
42+
return self.xpath_attrib_includes(
4343
xpath, '@class', class_selector.class_name)
4444

4545
def xpath_descendant_combinator(self, left, right):

0 commit comments

Comments
 (0)