Happy to see that Playwright 1.20 implements most of the screenshot improvements* we did in 1JS and discussed before Christmas. *: Disabling CSS animations, Element masking and Forgiving matching. You are still missing the pending setTimeout + request work but I guess this is coming ;)
is It possible to use Playwright as a standalone library in Browser Extention environment for automating tasks such as waiting dom elements, clicking, selecting, even screenshot pages?
Grep is for tagged tests test.describe('Funky form tests @forms', () => {...} and if you only will run the tests inside this description you can run it with npx playwright test --grep '@forms' or with the grep in the project settings
Guys, please help me! Let's take a simple scenario, open a browser, go to google, search for 'word', press search, and the scripts ends. In selenium, after the search, the browser is still open and usable, i can browse through the search results. In playwright, the browser closes, even if i did not us browser.close(). How can I keep my browser open and analyze the search results of my google query?
Here a example for multiple mask locators await page.screenshot({ animations: 'disabled', mask: [ page.locator('.m-appointment-scheduler__time__from') page.locator('.m-appointment-scheduler__time'__to) ] })
Joel’s haircut/ beard cut evolves each version :D Great job can’t wait for next releases
great work guys!💪
Glad to see you doing great job on it!
And i see you're enjoy it, alushnikov ;)
Good stuff!
I hope the new (screenshot) features are ported to Python! This would simplify our screenshot comparing process!
Happy to see that Playwright 1.20 implements most of the screenshot improvements* we did in 1JS and discussed before Christmas.
*: Disabling CSS animations, Element masking and Forgiving matching. You are still missing the pending setTimeout + request work but I guess this is coming ;)
We are leveraging Java bindings so would request to have new features updated to this language as well!.
Thanks and appreciate the efforts!
Thank you for these videos ❤️
Great job!
please make a video/text tutorial on getting 'publish single file' to work
Awesome job!
You not just only can define difference pixel, it's also possible to define a threshold:
.toMatchSnapshot({
threshold: 0.01
})
Hey element masking is pretty cool. But I was wondering if it's possible to mask everything expect the given element?
is It possible to use Playwright as a standalone library in Browser Extention environment for automating tasks such as waiting dom elements, clicking, selecting, even screenshot pages?
How I pass one valor of zoon 100% or 120% for example?
Grep is for tagged tests
test.describe('Funky form tests @forms', () => {...}
and if you only will run the tests inside this description you can run it with
npx playwright test --grep '@forms'
or with the grep in the project settings
Guys, please help me! Let's take a simple scenario, open a browser, go to google, search for 'word', press search, and the scripts ends. In selenium, after the search, the browser is still open and usable, i can browse through the search results. In playwright, the browser closes, even if i did not us browser.close(). How can I keep my browser open and analyze the search results of my google query?
Who is Joel?
Here a example for multiple mask locators
await page.screenshot({
animations: 'disabled',
mask: [
page.locator('.m-appointment-scheduler__time__from')
page.locator('.m-appointment-scheduler__time'__to)
]
})
@aslushnikov - can you please force the Browserstack Implementation to support mobile devices also?
😍 𝓅𝓇o𝓂o𝓈𝓂
Joel please -- nobody asking about the masking color, really.
Great job!