I know I can use:
casper.test.assertExists(#selector);
But I want to actually store if it exists in a boolean variable.
I.e. something like this:
var exists = SelectorExists(#selector);
I know I can use:
casper.test.assertExists(#selector);
But I want to actually store if it exists in a boolean variable.
I.e. something like this:
var exists = SelectorExists(#selector);