Skip to content

Commit

Permalink
fix: cookies button
Browse files Browse the repository at this point in the history
  • Loading branch information
un0tec committed Mar 4, 2025
1 parent afd1bdd commit 0097d0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion awssopilot.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ async function init() {

// allow cookies
console.log(' Accept cookies...');
await page.waitForSelector('button[aria-label="Accept all cookies"]');
await page.waitForSelector('button[aria-label="Accept all cookies"]', { visible: true });
await page.click('button[aria-label="Accept all cookies"]');

// confirm code
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "awssopilot",
"version": "1.2.0",
"version": "1.2.1",
"description": "Automates AWS SSO token renewal and generates IAM credentials, supporting multi-profile management",
"type": "module",
"exports": "./awssopilot.js",
Expand Down

0 comments on commit 0097d0b

Please sign in to comment.