Skip to content

Commit

Permalink
Merge pull request #1924 from markus-leben/master
Browse files Browse the repository at this point in the history
Fix _find_by_data_locator
  • Loading branch information
emanlove authored Nov 2, 2024
2 parents aaf8674 + 2eef15c commit 96fa446
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 96fa446

Please sign in to comment.