@auxcode/auxta 1.3.77 → 1.3.78-beta.100

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.
@@ -193,11 +193,13 @@ class AuxGoogleAuth {
193
193
  yield (yield page.$$('button'))[1].click();
194
194
  yield code_helper_1.default.timeout(4000);
195
195
  yield code_helper_1.default.waitForSelector('visible', '#headingText', config_1.config.timeout, page, count >= 2);
196
+ yield code_helper_1.default.timeout(4000);
196
197
  yield (yield page.$$('button'))[2].click();
197
198
  yield code_helper_1.default.timeout(4000);
198
199
  const checkbox = yield page.$$('input[type="checkbox"]');
199
200
  if (checkbox.length > 0) {
200
201
  yield code_helper_1.default.waitForSelector('visible', 'input[type="checkbox"]', config_1.config.timeout, page, count >= 2);
202
+ yield code_helper_1.default.timeout(4000);
201
203
  yield checkbox[0].click();
202
204
  yield (yield page.$$('button'))[2].click();
203
205
  }
@@ -30,13 +30,11 @@ class Puppeteer {
30
30
  if (process.env.ENVIRONMENT === 'LOCAL') {
31
31
  args.push('--start-maximized');
32
32
  }
33
- if (process.env.ENVIRONMENT != 'LOCAL') {
34
- args.push(`--window-size=${config_1.config.screenWidth ? config_1.config.screenWidth : 1920},${config_1.config.screenHeight ? config_1.config.screenHeight : 1080}`);
35
- args.push("--no-sandbox", "--disable-setuid-sandbox", "--disable-gpu");
36
- env = {
37
- DISPLAY: ":10.0"
38
- };
39
- }
33
+ args.push(`--window-size=${config_1.config.screenWidth ? config_1.config.screenWidth : 1920},${config_1.config.screenHeight ? config_1.config.screenHeight : 1080}`);
34
+ args.push("--no-sandbox", "--disable-setuid-sandbox", "--disable-gpu");
35
+ env = {
36
+ DISPLAY: ":10.0"
37
+ };
40
38
  this.browser = yield puppeteer.default.launch({
41
39
  slowMo: process.env.slowMo ? Number(process.env.slowMo) : 0,
42
40
  executablePath: puppeteer.default.executablePath(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@auxcode/auxta",
3
- "version": "1.3.77",
3
+ "version": "1.3.78-beta.100",
4
4
  "description": "",
5
5
  "main": "./build/AuxTA.js",
6
6
  "types": "./build/AuxTA.d.ts",