Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Made Login Script Work After New UI Changes #32

Merged
merged 1 commit into from
Feb 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading