Skip to content

Conversation

datawookie
Copy link

@datawookie datawookie commented May 29, 2025

Hi!

Thanks for the work on Camoufox. Many things that were literally impossible previously are now possible thanks to Camoufox.

One issue that I have been hitting my head against is launching Camoufox headless on an EC2 instance. This issue has previously been raised elsewhere:

The second link proposes a simple solution, which I have tested and found to fix the issue.

This MR applies the proposed change to the get_screen_cons() function.

Best regards, Andrew.

@datawookie datawookie changed the title fix: Return None if headless fix: Return None for screen size if headless May 29, 2025
@Alexei17
Copy link

Alexei17 commented Jun 1, 2025

Also fixed my issue, wasn't working at all before. Please merge this

sackmotion pushed a commit to sackmotion/camoufox that referenced this pull request Sep 30, 2025
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

Successfully merging this pull request may close these issues.

2 participants