Skip to content

Commit

Permalink
Buscando arreglar arranque en gitlab con base en puppeteer/puppeteer#679
Browse files Browse the repository at this point in the history
  • Loading branch information
Nombre Usuario committed Sep 5, 2023
1 parent 39eee2a commit df80d52
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pruebas_puppeteer/index.mjs
Expand Up @@ -17,7 +17,9 @@ export async function preparar(timeout = 5000, rutainicial = '/msip') {
//console.log("sincabeza=", sincabeza);
let browser = null;
if (typeof process.env.CI == "string") {
ep = require('puppeteer').executablePath();
browser = await puppeteer.launch({
executablePath: ep,
defaultViewport: { width: 1240, height: 800},
headless: sincabeza,
args: [
Expand Down

0 comments on commit df80d52

Please sign in to comment.