Comments (2)
How and where do you set the en-GB
locale?
from playwright-dotnet.
This was actually an intended change in order to align with the upstream Playwright Test Runner. Customers were running tests with Playwright for .NET and experienced different results (locale, colorScheme) based on which system they were running them. We apologise for that! I adjusted the release-notes to reflect this behaviour change.
In order to opt-in with the previous behaviour, you can do the following:
using Microsoft.Playwright.NUnit;
namespace PlaywrightTests;
[Parallelizable(ParallelScope.Self)]
[TestFixture]
public class MyTest : PageTest
{
public override BrowserNewContextOptions ContextOptions()
{
return new BrowserNewContextOptions()
{
Locale = "en-GB",
ColorScheme = ColorScheme.Light,
};
}
}
from playwright-dotnet.
Related Issues (20)
- [BUG] Not able to use Playwright on macOS Catalyst HOT 5
- [BUG]playwright Memory Leak HOT 3
- [BUG] Fresh Playwright for .NET Install Throws 'Invalid browser name' HOT 2
- [BUG]I want to create a browser settings proxy, HOT 5
- [Feature] Allow proxy for ConnectAsync and ConnectOverCdpAsync HOT 1
- [Bug]: Click is not working via javascript ExecuteAsync HOT 1
- [Feature]: Port Android Support To .NET HOT 1
- [Bug]: Visual Studio Code Extension HOT 1
- [Question] Can i run my test on different executors? HOT 2
- [Docs]: Clarification on best practice for context usage HOT 2
- [Bug]: Missing playwright files since after 1.39.0 in Nuget Packages. (.playwright / node / .../ playwright... HOT 2
- [Ports]: Backport client side changes
- [Bug]: Cannot find module '../../package.json' HOT 1
- [Bug]: ClickOnce deployment error due to mismatched assembly identity in manifest
- [Please read the message below]
- [Feature]: Azure playwright testing support HOT 1
- Module not found error when trying to install browsers (v1.42.0) HOT 8
- [Bug]: Retrieving webpage information leads to continuously increasing memory usage and the webpage experiencing lagging HOT 5
- [Bug]: Redirect after Azure Entra login fails HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from playwright-dotnet.