Closed melcher closed 10 years ago
There should be a way to ensure an element is on the page when we click on it. The fact that:
find('Something not on the page').trigger('click');
Succeeds without errors seems pretty inherently wrong. Perhaps something like.
clickOn('Something not on the page');
Could fail, so find could still delegate to jquery.
There should be a way to ensure an element is on the page when we click on it. The fact that:
Succeeds without errors seems pretty inherently wrong. Perhaps something like.
Could fail, so find could still delegate to jquery.