Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot take screenshot with 0 width. #227

Open
helinjiang opened this issue Nov 29, 2020 · 0 comments
Open

Cannot take screenshot with 0 width. #227

helinjiang opened this issue Nov 29, 2020 · 0 comments

Comments

@helinjiang
Copy link
Collaborator


Error: Protocol error (Page.captureScreenshot): Cannot take screenshot with 0 width.
    at /Users/helinjiang/gitprojects/epc-tapd-helper/node_modules/puppeteer/lib/Connection.js:156:63
    at new Promise (<anonymous>)
    at CDPSession.send (/Users/helinjiang/gitprojects/epc-tapd-helper/node_modules/puppeteer/lib/Connection.js:155:16)
    at Page._screenshotTask (/Users/helinjiang/gitprojects/epc-tapd-helper/node_modules/puppeteer/lib/Page.js:762:43)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
  -- ASYNC --
    at Page.<anonymous> (/Users/helinjiang/gitprojects/epc-tapd-helper/node_modules/puppeteer/lib/helper.js:116:19)
    at PuppeteerRunner.runActions (/Users/helinjiang/gitprojects/epc-tapd-helper/node_modules/matman-runner-puppeteer/lib/PuppeteerRunner.js:283:33)
    at async PuppeteerRunner.getResult (/Users/helinjiang/gitprojects/epc-tapd-helper/node_modules/matman-runner-puppeteer/lib/PuppeteerRunner.js:338:24)
    at async run (/Users/helinjiang/gitprojects/epc-tapd-helper/src/epc-score/obtain-data/obtain-ep.js:127:26)
    at async runOnlyOneWithLog (/Users/helinjiang/gitprojects/epc-tapd-helper/src/epc-score/obtain-data/obtain-ep.js:171:27)
    at async Object.runOneByOne (/Users/helinjiang/gitprojects/epc-tapd-helper/src/epc-score/obtain-data/obtain-ep.js:201:7)
    at async Object.runObtainEP [as obtainData] (/Users/helinjiang/gitprojects/epc-tapd-helper/src/epc-score/obtain-data/index.js:11:3)
    at async /Users/helinjiang/gitprojects/epc-tapd-helper/jobs/epc-score-obtain.js:6:3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant