Skip to content

Commit

Permalink
Update bluefox.script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
HeyHamachi committed Feb 17, 2024
1 parent 04a0d48 commit e66016e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/js/bluefox.script.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(
{
Expand Down

0 comments on commit e66016e

Please sign in to comment.