webdriverio-community / wdio-html-reporter

Fork of wdio-html-format-reporter
MIT License
18 stars 27 forks source link

Capture Screenshot of the active tab window #82

Closed nair-sumesh closed 2 years ago

nair-sumesh commented 2 years ago

When working with tabbed windows(creating new tabs and switching between them during the test), the snapshot is captured only for the original tab where the test started and not the currently active tab.

rpii commented 2 years ago

Yes,

I think that is an issue with a lot of tools. its actually a different object in webdriverio.

Rich

On Thu, Jan 27, 2022 at 9:25 AM nair-sumesh @.***> wrote:

When working with tabbed windows(creating new tabs and switching between them during the test), the snapshot is captured only for the original tab where the test started and not the currently active tab.

— Reply to this email directly, view it on GitHub https://github.com/rpii/wdio-html-reporter/issues/82, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEABIEPSECUUWNULVUOCH3TUYF5VDANCNFSM5M6SF5BA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>