Skip to content

Possible to have --self-contained-html extra.image open in new tab #294

Open
@jonathantizard

Description

@jonathantizard

Hi,

So currently I would like to pass images from web driver as base 64 encoded straight into your extra.image helper.

When setting to --self-contained-html. This works great, the only downside is that the images are no longer clickable. They don't open in a new tab.

Would it be possible to embed a little bit of JS on an onClick handler so that the image can open in a new tab? I'd love to submit a pull request but Im not Pythonic enough just yet!

This would be the icing on the cake for the self contained option!

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementThis issue/PR relates to a feature request.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions