From e66016e889f05886a06a311a8e2cb6169e870958 Mon Sep 17 00:00:00 2001 From: LobeliaComputing <31212444+ibuninngu@users.noreply.github.com> Date: Sun, 18 Feb 2024 00:01:00 +0900 Subject: [PATCH] Update bluefox.script.js --- src/js/bluefox.script.js | 4 ++++ 1 file changed, 4 insertions(+) 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( {