Add a default target for :click-element
This commit is contained in:
parent
cc9b776476
commit
e0af03db80
@ -1532,7 +1532,8 @@ class CommandDispatcher:
|
||||
hide=True)
|
||||
@cmdutils.argument('filter_', choices=['id'])
|
||||
def click_element(self, filter_: str, value, *,
|
||||
target: usertypes.ClickTarget):
|
||||
target: usertypes.ClickTarget =
|
||||
usertypes.ClickTarget.normal):
|
||||
"""Click the element matching the given filter.
|
||||
|
||||
The given filter needs to result in exactly one element, otherwise, an
|
||||
|
Loading…
Reference in New Issue
Block a user