@@ -14731,10 +14731,6 @@ export interface Locator {
1473114731 * Focuses the element, and then sends a `keydown`, `keypress`/`input`, and `keyup` event for each character in the
1473214732 * text.
1473314733 *
14734- * When [`namedKeys`](https://playwright.dev/docs/api/class-locator#locator-press-sequentially-option-named-keys) is
14735- * `true`, anything inside `{}` is treated as a key name (same format as
14736- * [locator.press(key[, options])](https://playwright.dev/docs/api/class-locator#locator-press)).
14737- *
1473814734 * To press a special key, like `Control` or `ArrowDown`, use
1473914735 * [locator.press(key[, options])](https://playwright.dev/docs/api/class-locator#locator-press).
1474014736 *
@@ -14743,11 +14739,6 @@ export interface Locator {
1474314739 * ```js
1474414740 * await locator.pressSequentially('Hello'); // Types instantly
1474514741 * await locator.pressSequentially('World', { delay: 100 }); // Types slower, like a user
14746- *
14747- * // Mix characters and named keys
14748- * await locator.pressSequentially('Hello{Enter}World', { namedKeys: true });
14749- * // Use modifier combos
14750- * await locator.pressSequentially('{Control+A}{Delete}Hello', { namedKeys: true });
1475114742 * ```
1475214743 *
1475314744 * An example of typing into a text field and then submitting the form:
@@ -14758,10 +14749,7 @@ export interface Locator {
1475814749 * await locator.press('Enter');
1475914750 * ```
1476014751 *
14761- * @param text String of characters to sequentially press into a focused element. When
14762- * [`namedKeys`](https://playwright.dev/docs/api/class-locator#locator-press-sequentially-option-named-keys) is
14763- * `true`, anything inside `{}` is treated as a key name (same format as
14764- * [locator.press(key[, options])](https://playwright.dev/docs/api/class-locator#locator-press)).
14752+ * @param text String of characters to sequentially press into a focused element.
1476514753 * @param options
1476614754 */
1476714755 pressSequentially(text: string, options?: {
@@ -14770,14 +14758,6 @@ export interface Locator {
1477014758 */
1477114759 delay?: number;
1477214760
14773- /**
14774- * When [`namedKeys`](https://playwright.dev/docs/api/class-locator#locator-press-sequentially-option-named-keys) is
14775- * `true`, anything inside `{}` is treated as a key name (same format as
14776- * [locator.press(key[, options])](https://playwright.dev/docs/api/class-locator#locator-press)). Use `{{` to type a
14777- * literal brace character. Defaults to `false`.
14778- */
14779- namedKeys?: boolean;
14780-
1478114761 /**
1478214762 * This option has no effect.
1478314763 * @deprecated This option has no effect.
@@ -19963,10 +19943,6 @@ export interface Keyboard {
1996319943 *
1996419944 * Sends a `keydown`, `keypress`/`input`, and `keyup` event for each character in the text.
1996519945 *
19966- * When [`namedKeys`](https://playwright.dev/docs/api/class-keyboard#keyboard-type-option-named-keys) is `true`,
19967- * anything inside `{}` is treated as a key name (same format as
19968- * [keyboard.press(key[, options])](https://playwright.dev/docs/api/class-keyboard#keyboard-press)).
19969- *
1997019946 * To press a special key, like `Control` or `ArrowDown`, use
1997119947 * [keyboard.press(key[, options])](https://playwright.dev/docs/api/class-keyboard#keyboard-press).
1997219948 *
@@ -19975,9 +19951,6 @@ export interface Keyboard {
1997519951 * ```js
1997619952 * await page.keyboard.type('Hello'); // Types instantly
1997719953 * await page.keyboard.type('World', { delay: 100 }); // Types slower, like a user
19978- *
19979- * // Mix text and special keys
19980- * await page.keyboard.type('Hello{Enter}World', { namedKeys: true });
1998119954 * ```
1998219955 *
1998319956 * **NOTE** Modifier keys DO NOT effect `keyboard.type`. Holding down `Shift` will not type the text in upper case.
@@ -19992,14 +19965,6 @@ export interface Keyboard {
1999219965 * Time to wait between key presses in milliseconds. Defaults to 0.
1999319966 */
1999419967 delay?: number;
19995-
19996- /**
19997- * When [`namedKeys`](https://playwright.dev/docs/api/class-keyboard#keyboard-type-option-named-keys) is `true`,
19998- * anything inside `{}` is treated as a key name (same format as
19999- * [keyboard.press(key[, options])](https://playwright.dev/docs/api/class-keyboard#keyboard-press)). Use `{{` to type
20000- * a literal brace character. Defaults to `false`.
20001- */
20002- namedKeys?: boolean;
2000319968 }): Promise<void>;
2000419969
2000519970 /**
0 commit comments