jQuery expressions

Support Account
Support Account
  • Updated

You can use jQuery-like expressions in interaction code. For instance:

wait($('selector')); // wait for this element to appear
click($('selector')); // click on this element after it appears
// wait for an element that matches the selector and contains 'Price' in it to appear
wait($('selector').filter_includes('Price'));
// wait for an element that matches the selector and  contains 'Price' in it to not appear
wait($('selector').filter_includes('Price'), {hidden: true});
Share this

Was this article helpful?

0 out of 0 found this helpful