Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
docs(emulation): fix incorrect code snippet for using JavaScriptEnabled (#29333)
Christopher Dunderdale36eed69fe28e
diff --git a/docs/src/emulation.md b/docs/src/emulation.mdindex a29e6cef7d..ad709cc308 100644--- a/docs/src/emulation.md+++ b/docs/src/emulation.md@@ -781,16 +781,16 @@ BrowserContext context = browser.newContext(new Browser.NewContextOptions()```python asynccontext = await browser.new_context(- javaScript_enabled=False+ java_script_enabled=False)``````python synccontext = browser.new_context(- javaScript_enabled=False+ java_script_enabled=False)``````csharp-var context = await browser.NewContextAsync(new() { JavaScriptEnabled = true });+var context = await browser.NewContextAsync(new() { JavaScriptEnabled = false });```