Skip to content

--use-gl=angle is required to setup Chrome() if in headless mode #145

Description

@kswang1029

The issue is spotted on macOS (m2 pro chip) environment. If we do

session = Session.create(Chrome(headless=True, options=['--use-gl=angle', '--force-color-profile=srgb']), url_without_token, debug_no_auth=True)

without the option --use-gl=angle, the saved PNG image plot will lose the raster image, like the following example.

create_session

Other OSs/hardwares need to be investigated.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions