Create bookmarks to switch roles in AWS console. This is useful when you have a lot of roles to switch to and the recent roles available in the console are not enough.
Fill the form, click "Generate", and drag the generated link to your bookmark bar. Use the bookmark in a tab where the AWS console is opened.
Try it on Plunker.