This commit is contained in:
Florian Bruhin 2016-08-18 15:46:01 +02:00
parent 4719e11e78
commit d9d14d4a4c

View File

@ -1532,8 +1532,8 @@ class CommandDispatcher:
hide=True) hide=True)
@cmdutils.argument('filter_', choices=['id']) @cmdutils.argument('filter_', choices=['id'])
def click_element(self, filter_: str, value, *, def click_element(self, filter_: str, value, *,
target: usertypes.ClickTarget = target: usertypes.ClickTarget=
usertypes.ClickTarget.normal): usertypes.ClickTarget.normal):
"""Click the element matching the given filter. """Click the element matching the given filter.
The given filter needs to result in exactly one element, otherwise, an The given filter needs to result in exactly one element, otherwise, an