Skip to content

Conversation

@Aleksey28
Copy link
Contributor

@Aleksey28 Aleksey28 commented Aug 26, 2022

[closes #173]

async takeScreenshot (id, screenshotPath) {
var buffer = await requestApi(BROWSERSTACK_API_PATHS.screenshot(this.workers[id].id));
var image = await jimp.read(buffer);
var buffer = await requestApi(BROWSERSTACK_API_PATHS.screenshot(this.workers[id].id));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a jpeg with pngextention, so this fix would unfortunately not work.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your remark. I changed using pngjs to sharp.

@Aleksey28 Aleksey28 merged commit fae91eb into DevExpress:master Aug 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Security Vulnerability issue

2 participants