Automating web browser interactions is a great way to test the functionalities of our web application.
Let’s see how to create UI tests in C# using Playwright Sharp, a browser automation library.
Read more…
Brought for you by one of our Guest Author
: @fgiuliani
1 Like
Let us know if you have any questions on this front!
shea
September 12, 2023, 6:12pm
3
What would make this useful is if you showed how to run tests that require authentication.
For example, I am struggling to get the Universal Login Experience to work with Playwright:
await page.getByLabel('Email address').fill('user@domain.com');
await page.getByLabel('Password').fill('password');
await page.getByRole('button', { name: 'Continue' }).click();
The above works for me. I would expect people coming to Auth0 to read an article about Playwright may be interested in something like this.