Skip to content

Commit

Permalink
Merge remote-tracking branch 'markus-leben/master' into fix-find-by-d…
Browse files Browse the repository at this point in the history
…ata-locator-robotframework#1924
  • Loading branch information
emanlove committed Nov 2, 2024
2 parents aaf8674 + 2eef15c commit f21bc11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SeleniumLibrary/locators/elementfinder.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def _find_by_tag_name(self, criteria, tag, constraints, parent):

def _find_by_data_locator(self, criteria, tag, constraints, parent):
try:
name, value = criteria.split(":", 2)
name, value = criteria.split(":", 1)
if "" in [name, value]:
raise ValueError
except ValueError:
Expand Down

0 comments on commit f21bc11

Please sign in to comment.