diff --git a/src/js/bluefox.script.js b/src/js/bluefox.script.js index 0a29f35..09e8313 100644 --- a/src/js/bluefox.script.js +++ b/src/js/bluefox.script.js @@ -92,6 +92,10 @@ export class BlueFoxScript { this.selector = selector; return this; } + defined(selector) { + this.selector = `is([bluefox-label="${selector}"],[aria-description="${selector}"])`; + return this; + } set(object) { this.tail.actions.push( {