Skip to content

screenshot.py changes: Html2Image logging and option to discard the html screenshot #152

Description

@jtenkate

Hi, when I recently used the library for the first time, I encountered two things in the screenshot lib that gave me issues:

  1. by default class Html2Image generates terminal logging. As I'm using this log to monitor test progress, I want to disable this (unnecessary) logging
  2. when using the keyword Take Screenshot with the png option, the html screenshot is also generated. I don't need both, so I want to have an argument to discard the html if a png is created.

Let me know what you think. I have a changed file screenshot.py ready if you agree to this change.

Cheers, Jeroen

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions