by hpaavola on 6/10/2021, 10:51:52 AM
by philliphaydon on 6/10/2021, 10:33:50 AM
Oh, I didn't know this existed. Definitely going to try this. I'm currently using Puppeteer Sharp (https://github.com/hardkoded/puppeteer-sharp) and something like:
> await page.GotoAsync("https://playwright.dev/dotnet");
> await page.ScreenshotAsync(new PageScreenshotOptions() { Path = "screenshot.png" });
Is broken, if you have background images in CSS the screenshot happens after Page Load is completed but before all CSS images are loaded so you end up not getting backgrounds in the screenshot. The only solution is to try add a delay before taking the screen grab, and it there's any sort of latency then the delay could result in not getting a good screenshot...
by jbgreer on 6/10/2021, 1:15:22 PM
For those of you wondering at home: Playwright for .NET is the official language port of Playwright, a Node.js based library to automate Chromium, Firefox and WebKit with a single API.
by keithnz on 6/10/2021, 10:37:13 AM
really curious about peoples experience with this compared to things like Cypress.
by mastry on 6/10/2021, 11:02:59 AM
Does anyone know if this can be used for effective performance testing? It’s not clear from the Playwright documentation, but I know Selenium (a similar tool) does not recommend performance testing.
by wegwe33 on 6/10/2021, 4:53:29 PM
Cool! I hate cypress so much.
by sharker8 on 6/10/2021, 1:55:38 PM
I thought it was a tool for me to use openai to generate play scripts.
by siwatanejo on 6/10/2021, 1:34:08 PM
What's wrong with canopy?
by callamdelaney on 6/10/2021, 4:34:53 PM
Next time I want to make my eyes bleed I'll hit up .net
Pair Playwright with Robot Framework (https://github.com/MarketSquare/robotframework-browser) and you'll get awesome browser automation with solid reporting, good test instrumentation and support for pretty much any TA need you might have besides browser automation.