WTFender/aws-sso-extender

AWS styling changes have broken extension

Closed this issue · 2 comments

AWS Seem to have changed the styling today, just as I was trying to get your extension to work!

It's not changing the AWS menu for me - I get the following error in the console:

aws-console.js:1 Uncaught (in promise) Error: Timeout: Element not found with selector "#menu--account"
    at aws-console.js:1:21039

I think it's this line:

return waitForElement('#menu--account');

#menu--account probably needs to be switched to #nav-usernameMenu I guess.

@chrisgilbert Thanks for letting me know! Looks like they made some slight tweaks, I'll have a fix out soon.

There were some subtle HTML changes to the AWS console menu that messed up how I'm scraping the account info. Some pages use the updated HTML and some still use the old format.

Let me know if you see anything else odd.