click (selector, context) RSVP.Promise
public
Clicks an element and triggers any actions triggered by the element's click
event.
Example:
click('.some-jQuery-selector').then(function() { // assert something });
Parameters:
-
selector
String
- jQuery selector for finding element on the DOM
-
context
Object
- A DOM Element, Document, or jQuery to use as context
Please login to continue.