Add a shortcut for cycling through elements with the "tab" key and then clicking the active element
- Add a shortcut to tab through and click active elements
--> This resolves #1390
Eg. self.send_keys("html", "\t\t\t\t\n")
This assumes that selector is html
, and that the text is a series of tabs (zero or more \t
) followed by one \n
at the end of the string.
Examples:
self.send_keys("html", "\t\t\t\t\n")
self.send_keys("html", "\t\n")
self.send_keys("html", "\n")
Another way of clicking the active element right now is by calling:
self.click_active_element()