Does JCEF support puppeteer remote control?

Having problems with building or using the JCEF Java binding? Ask your questions here.

Does JCEF support puppeteer remote control?

Postby smartBeaver » Wed May 26, 2021 2:11 pm

Is it possible to control the embedded JCEF browser using puppeteer, a nodejs script? I set the debugging port to 9222 but I get the following error:

Error: Protocol error (Target.createTarget): Not supported
at /home/master/code/pdfGenerator/node_modules/puppeteer/lib/cjs/puppeteer/common/Connection.js:71:63
at new Promise (<anonymous>)
at Connection.send (/home/master/code/pdfGenerator/node_modules/puppeteer/lib/cjs/puppeteer/common/Connection.js:70:16)
at Browser._createPageInContext (/home/master/code/pdfGenerator/node_modules/puppeteer/lib/cjs/puppeteer/common/Browser.js:247:53)
at BrowserContext.newPage (/home/master/code/pdfGenerator/node_modules/puppeteer/lib/cjs/puppeteer/common/Browser.js:506:30)
at Browser.newPage (/home/master/code/pdfGenerator/node_modules/puppeteer/lib/cjs/puppeteer/common/Browser.js:240:37)
at /home/master/code/pdfGenerator/fb2pdf.js:7:36
at processTicksAndRejections (internal/process/task_queues.js:95:5)

So, is this really not supported?
smartBeaver
Newbie
 
Posts: 8
Joined: Wed May 26, 2021 7:51 am

Return to JCEF Forum

Who is online

Users browsing this forum: No registered users and 3 guests