Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

docs: fixing JS Comments for Evaluate (#26880)

Timothy C. Quinn2f4d1714b8ce
diff --git a/docs/src/evaluating.md b/docs/src/evaluating.md
index 3c31ff09b2..7a815534f5 100644
--- a/docs/src/evaluating.md
+++ b/docs/src/evaluating.md
@@ -349,7 +349,7 @@ Object result = page.evaluate("() => {\n" +
```python async
data = { 'text': 'some data', 'value': 1 }
result = await page.evaluate("""() => {
- # There is no |data| in the web page.
+ // There is no |data| in the web page.
window.myApp.use(data)
}""")
```
@@ -357,7 +357,7 @@ result = await page.evaluate("""() => {
```python sync
data = { 'text': 'some data', 'value': 1 }
result = page.evaluate("""() => {
- # There is no |data| in the web page.
+ // There is no |data| in the web page.
window.myApp.use(data)
}""")
```