Created
September 15, 2023 12:44
-
-
Save JoshuaKGoldberg/089385959d45d7747fb018334d67e7ba to your computer and use it in GitHub Desktop.
Accept first Tidelift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
async function goThroughFlow() { | |
const waitFor = (time) => new Promise((resolve) => setTimeout(resolve, time)); | |
const container = document.getElementById("container"); | |
container.click(); | |
await waitFor(1000); | |
const choice = document.querySelector(`[name=discloure_choice]`); | |
choice.scrollIntoView(); | |
choice.click(); | |
await waitFor(500); | |
document.querySelector(".drawer-card-foot button").click(); | |
} | |
await goThroughFlow(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment