Pair Playwright with Robot Framework (<a href="https://github.com/MarketSquare/robotframework-browser" rel="nofollow">https://github.com/MarketSquare/robotframework-browser</a>) 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.
Oh, I didn't know this existed. Definitely going to try this. I'm currently using Puppeteer Sharp (<a href="https://github.com/hardkoded/puppeteer-sharp" rel="nofollow">https://github.com/hardkoded/puppeteer-sharp</a>) and something like:<p>> await page.GotoAsync("<a href="https://playwright.dev/dotnet");" rel="nofollow">https://playwright.dev/dotnet");</a><p>> await page.ScreenshotAsync(new PageScreenshotOptions() { Path = "screenshot.png" });<p>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...
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.
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.