Skip to content

Commit

Permalink
feat: made script work in response to new ui changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ewang2002 committed Feb 23, 2024
1 parent d8c6728 commit 1354370
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/webregautoin/src/fns.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export async function fetchCookies(ctx: Context, browser: puppeteer.Browser, isI
await waitFor(3000);
const content = await page.content();
// This assumes that the credentials are valid.
if (content.includes("Signing on Using:") && content.includes("TritonLink user name")) {
if (content.includes("Signing on using:") && content.includes("TritonLink user name")) {
logNice(termLog, "Attempting to sign in to TritonLink.");
// https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Selectors
await page.type('#ssousername', ctx.webreg.username);
Expand Down

0 comments on commit 1354370

Please sign in to comment.