Skip to content

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

docs: selector engine script type (#5450)

Yury Semikhatsky529e39872f7d
diff --git a/docs/src/api/class-selectors.md b/docs/src/api/class-selectors.md
index 8a95522a9d..e62cd53a84 100644
--- a/docs/src/api/class-selectors.md
+++ b/docs/src/api/class-selectors.md
@@ -57,7 +57,7 @@ Name that is used in selectors as a prefix, e.g. `{name: 'foo'}` enables `foo=my
contain `[a-zA-Z0-9_]` characters.
### param: Selectors.register.script
-* langs: java, js
+* langs: js
- `script` <[function]|[string]|[Object]>
- `path` <[path]> Path to the JavaScript file. If `path` is a relative path, then it is resolved relative to the
current working directory. Optional.
@@ -65,6 +65,12 @@ contain `[a-zA-Z0-9_]` characters.
Script that evaluates to a selector engine instance.
+### param: Selectors.register.script
+* langs: csharp, java
+- `script` <[string]|[path]>
+
+Script that evaluates to a selector engine instance.
+
### option: Selectors.register.contentScript
- `contentScript` <[boolean]>