question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot take screenshot

See original GitHub issue

The saveScreenshot throw this error

RuntimeError: unknown error: cannot get automation extension from unknown error: page could not be found: chrome-extension://aapnijgdinlhnhlmodcfapnahmbfebeb/_generated_background_page.html

Spectron v.3.2.4 Electron v.1.2.5

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
jpolleycommented, Jul 18, 2019

Just wanted to mention that using spectron version 7.0.0, I’ve found that saveScreenshot is working for me:

await app.client.saveScreenshot('page.png');
0reactions
remsscommented, May 18, 2020

I do not see this issue any more in version 10.0.1

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't Take Screenshot Due To Security Policy? Here's How ...
Take Screenshots in Incognito/Private Mode · Launch Chrome. · Here, search for screenshot. · Change the settings to Enable. · Now relaunch Chrome....
Read more >
Android: "Can't take screenshot due to security policy"
If you're having trouble taking a screenshot in an app that you think should allow screenshots, try closing all apps, relaunching the app,...
Read more >
Can't Take Screenshot Due to Security Policy—Try These Fixes
Fixing Blocked Screenshots in Chrome Incognito · Launch “Chrome.” · On the Chrome flags screen, type “ Incognito Screenshot ” without quotes into ......
Read more >
8 Best Fixes for Screenshot Not Working on Android - TechWiser
Fix: Can't Take Screenshot on Android · 1. Clear All Open Apps · 2. Restart Phone · 3. Use Correct Methods to Take...
Read more >
How to Fix It When You Can't Take Screenshots on Android
On your phone, head into Settings > Apps & notifications > Default apps > Assist & voice input. · Toggle on the Use...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found