Skip to content

Commit de47625

Browse files
committed
Rollback change that effected get webelements
1 parent 91c808c commit de47625

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AppiumLibrary/keywords/_element.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ def _element_find(self, locator, first_only, required, tag=None):
571571
if len(elements) == 0: return None
572572
return elements[0]
573573
elif isinstance(locator, WebElement):
574-
elements = [locator]
574+
elements = locator
575575
# do some other stuff here like deal with list of webelements
576576
# ... or raise locator/element specific error if required
577577
return elements

0 commit comments

Comments
 (0)