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

286
Views
cómo resolver este error en Puppeteer intento llenar el formulario usando Puppeteer

cómo resolver este error en Puppeteer intento llenar el formulario usando Puppeteer

 2022-03-23 18:33:31.005 INFO Error While WriteInputFieldsProtocol error (Input.dispatchKeyEvent): Target closed. {"name":"ProtocolError","originalMessage":"","message":"Protocol error (Input.dispatchKeyEvent): Target closed."} ProtocolError: Protocol error (Input.dispatchKeyEvent): Target closed. at /home/mypc/Documents/project/puppetor-script/node_modules/puppeteer/lib/cjs/puppeteer/common/Connection.js:230:24 at new Promise (<anonymous>) at CDPSession.send (/home/mypc/Documents/project/puppetor-script/node_modules/puppeteer/lib/cjs/puppeteer/common/Connection.js:226:16) at next (/home/mypc/Documents/project/puppetor-script/node_modules/puppeteer-extra-plugin-stealth/evasions/sourceurl/index.js:32:41) at CDPSession.send (/home/mypc/Documents/project/puppetor-script/node_modules/puppeteer-extra-plugin-stealth/evasions/sourceurl/index.js:57:18) at Keyboard.up (/home/mypc/Documents/project/puppetor-script/node_modules/puppeteer/lib/cjs/puppeteer/common/Input.js:168:28) at Keyboard.press (/home/mypc/Documents/project/puppetor-script/node_modules/puppeteer/lib/cjs/puppeteer/common/Input.js:258:20) at async Keyboard.type (/home/mypc/Documents/project/puppetor-script/node_modules/puppeteer/lib/cjs/puppeteer/common/Input.js:224:17) at async ElementHandle.type (/home/mypc/Documents/project/puppetor-script/node_modules/puppeteer/lib/cjs/puppeteer/common/JSHandle.js:674:9) at async Object._this.writeInputField (/home/mypc/Documents/project/puppetor-script/functions.js:514:21)
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Asegúrese de esperar a cerrar la página o el navegador y que las instancias posteriores se llamen sincrónicamente. https://github.com/puppeteer/puppeteer/issues/1947

 ... await page.close(); ... or ... await browser.close(); ...
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!