Skip to content

Screenshot Captured as Black Screen When Deployed on Render #94

@Rahilsamani

Description

@Rahilsamani

When using the pyscreenshot library in my employee tracking system, the system works perfectly when running locally. However, after deploying the application on Render, the screenshots taken are all black (completely blank or black screen). This issue doesn't occur locally, which suggests that the problem is environment-specific and related to the deployment setup.

Steps to Reproduce:

  1. Deploy the application using pyscreenshot on Render.
  2. Trigger a screenshot capture action from the application.
  3. Observe that the resulting screenshot is completely black (or a blank screen).
    Expected Behavior:
    The expected behavior is that pyscreenshot captures the current screen of the application or desktop, similar to how it works when running locally.

Actual Behavior:
Instead of a valid screenshot, a black screen is returned.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions