A tool that automatically clicks “Proceed to Checkout” on Amazon. When purchasing products on Amazon, it was tedious to click “Proceed to Checkout” after opening the product page and adding to cart, so I created a tool to click it automatically.
Below is an excerpt of part of the code.
app.console.setLogPrefix("[Amazon Auto Proceed to Checkout]");
(async () => {
app.console.warn("starting.", );
await waitUntil(() => document.querySelector('input[name="proceedToRetailCheckout"]'))
var addedCart = document.querySelector
...
Below is a GIF animation to help visualize the program’s operation.

That’s all for the introduction.