Skip to content

Commit bf9c56b

Browse files
authored
improve browser.keys documentation (#14488)
1 parent 61365fa commit bf9c56b

File tree

1 file changed

+2
-2
lines changed
  • packages/webdriverio/src/commands/browser

1 file changed

+2
-2
lines changed

packages/webdriverio/src/commands/browser/keys.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import { checkUnicode } from '../../utils/index.js'
77
* Send a sequence of key strokes to the "active" element. You can make an input element active by just clicking
88
* on it. To use characters like "Left arrow" or "Back space", import the `Key` object from the WebdriverIO package.
99
*
10-
* Modifier like `Control`, `Shift`, `Alt` and `Command` will stay pressed so you need to trigger them again to release
11-
* them. Modifying a click however requires you to use the WebDriver Actions API through the
10+
* Modifier like `Control`, `Shift`, `Alt` and `Command` will stay pressed throughout the sequence and will be released
11+
* at the end. Modifying a click requires you to use the WebDriver Actions API through the
1212
* [performActions](https://webdriver.io/docs/api/webdriver#performactions) method.
1313
*
1414
* :::info

0 commit comments

Comments
 (0)