We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
I try to screenshot the page and mask the element by different color(#000000), but always mask the default color(#FF00FF).
page.Screenshot(playwright.PageScreenshotOptions{ Path: playwright.String(screenshotPath), Mask: []playwright.Locator{ sensElem, }, MaskColor: playwright.String("#000000"), })
Are there any setting I am missing?
Also, I would like to know dose this MaskColor code could set the transparency value like #80000000 (50%) or rgba(0,0,0, 50)?
thank you.
The text was updated successfully, but these errors were encountered:
fixed with #389, pls try again.
Sorry, something went wrong.
Hi,
It's perfect for me. I also tried set the rgba(0,0,0,0.5) on the MaskColor property. As expected, the elements is masked as transparent.
rgba(0,0,0,0.5)
thank you
Successfully merging a pull request may close this issue.
Hello,
I try to screenshot the page and mask the element by different color(#000000), but always mask the default color(#FF00FF).
Are there any setting I am missing?
Also, I would like to know dose this MaskColor code could set the transparency value like #80000000 (50%) or rgba(0,0,0, 50)?
thank you.
The text was updated successfully, but these errors were encountered: