@datacamp/learn-vm-scripts 0.0.9 → 0.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +4 -8
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -92646,13 +92646,7 @@ async function setupPuppeteerPage({
|
|
|
92646
92646
|
userDataDir
|
|
92647
92647
|
}) {
|
|
92648
92648
|
const browser = await puppeteer_core_default.launch({
|
|
92649
|
-
args: [
|
|
92650
|
-
"--start-maximized",
|
|
92651
|
-
"--kiosk",
|
|
92652
|
-
"--no-prompts",
|
|
92653
|
-
"--no-dialogs",
|
|
92654
|
-
"--disable-pinch"
|
|
92655
|
-
],
|
|
92649
|
+
args: ["--start-maximized", "--enable-save-password-bubble"],
|
|
92656
92650
|
executablePath: executablePath2,
|
|
92657
92651
|
headless: false,
|
|
92658
92652
|
defaultViewport: null,
|
|
@@ -92744,7 +92738,9 @@ async function loginToAzure({
|
|
|
92744
92738
|
log("Ensuring user stays signed in ...");
|
|
92745
92739
|
await page.waitForSelector('[type="submit"]');
|
|
92746
92740
|
await page.click('[type="submit"]');
|
|
92747
|
-
void optionalPartsOfLogin(page)
|
|
92741
|
+
void optionalPartsOfLogin(page).catch((error) => {
|
|
92742
|
+
console.error("Error in optional part of Azure login: ", error);
|
|
92743
|
+
});
|
|
92748
92744
|
log("Logged in to Azure successfully");
|
|
92749
92745
|
}
|
|
92750
92746
|
|
package/package.json
CHANGED