Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

258
Views
¿Por qué Selenium devuelve este error y cómo lo soluciono?

¿Cómo soluciono este error de selenio?

 (unknown error: DevToolsActivePort file doesn't exist) (The process started from chrome location c:\Users\aaron\Downloads\webscraper\chromedriver.exe is no longer running, so ChromeDriver is assuming that Chrome has crashed.)

Aquí está mi código:

 const {Builder} = require('selenium-webdriver'); const chrome = require('selenium-webdriver/chrome'); (async function openChromeTest() { try { let options = new chrome.Options().setChromeBinaryPath(`${__dirname}\\chromedriver.exe`).addArguments("--disable-dev-shm-usage", "--no-sandbox", "--headless"); let driver = await new Builder()less" .setChromeOptions(options) .forBrowser('chrome') .build(); await driver.get('https://www.google.com'); await driver.quit(); } catch (error) { console.log(error) } })();

Intenté agregar --disable-dev-shm-usage --no-sandbox --headless argumentos como WebDriverException: error desconocido: el archivo DevToolsActivePort no existe al intentar iniciar el navegador Chrome , pero eso no lo solucionó.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

¿Podría compartir la parte superior de su fragmento de código?

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!