Skip to content

Commit 96fa446

Browse files
authored
Merge pull request #1924 from markus-leben/master
Fix _find_by_data_locator
2 parents aaf8674 + 2eef15c commit 96fa446

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SeleniumLibrary/locators/elementfinder.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ def _find_by_tag_name(self, criteria, tag, constraints, parent):
223223

224224
def _find_by_data_locator(self, criteria, tag, constraints, parent):
225225
try:
226-
name, value = criteria.split(":", 2)
226+
name, value = criteria.split(":", 1)
227227
if "" in [name, value]:
228228
raise ValueError
229229
except ValueError:

0 commit comments

Comments
 (0)