Add a default target for :click-element
This commit is contained in:
parent
cc9b776476
commit
e0af03db80
@ -1532,7 +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):
|
||||||
"""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
|
||||||
|
Loading…
Reference in New Issue
Block a user