diff --git a/docs/helpers/Appium.md b/docs/helpers/Appium.md index a6fd268a4..4dbc724fd 100644 --- a/docs/helpers/Appium.md +++ b/docs/helpers/Appium.md @@ -25,7 +25,6 @@ Launch the daemon: `appium` This helper should be configured in codecept.conf.ts or codecept.conf.js -- `appiumV2`: set this to true if you want to run with Appiumv2 - `app`: Application path. Local path or remote URL to an .ipa or .apk file, or a .zip containing one of these. Alias to desiredCapabilities.appPackage - `host`: (default: 'localhost') Appium host - `port`: (default: '4723') Appium port @@ -841,6 +840,8 @@ Field is located by name, label, CSS or XPath ```js I.appendField('#myTextField', 'appended'); +// typing secret +I.appendField('password', secret('123456')); ``` #### Parameters diff --git a/docs/helpers/Nightmare.md b/docs/helpers/Nightmare.md index feacd009e..2c0cd7197 100644 --- a/docs/helpers/Nightmare.md +++ b/docs/helpers/Nightmare.md @@ -91,6 +91,8 @@ Field is located by name, label, CSS or XPath ```js I.appendField('#myTextField', 'appended'); +// typing secret +I.appendField('password', secret('123456')); ``` #### Parameters diff --git a/docs/helpers/Puppeteer.md b/docs/helpers/Puppeteer.md index 37628f28d..b910fa5ea 100644 --- a/docs/helpers/Puppeteer.md +++ b/docs/helpers/Puppeteer.md @@ -296,6 +296,8 @@ Field is located by name, label, CSS or XPath ```js I.appendField('#myTextField', 'appended'); +// typing secret +I.appendField('password', secret('123456')); ``` #### Parameters @@ -1786,6 +1788,9 @@ I.type('4141555311111111', 100); // passing in an array I.type(['T', 'E', 'X', 'T']); + +// passing a secret +I.type(secret('123456')); ``` #### Parameters diff --git a/docs/helpers/TestCafe.md b/docs/helpers/TestCafe.md index 34075cf45..1c90ea632 100644 --- a/docs/helpers/TestCafe.md +++ b/docs/helpers/TestCafe.md @@ -116,6 +116,8 @@ Field is located by name, label, CSS or XPath ```js I.appendField('#myTextField', 'appended'); +// typing secret +I.appendField('password', secret('123456')); ``` #### Parameters diff --git a/docs/helpers/WebDriver.md b/docs/helpers/WebDriver.md index 9db5a18ae..127cefb6c 100644 --- a/docs/helpers/WebDriver.md +++ b/docs/helpers/WebDriver.md @@ -464,6 +464,8 @@ Field is located by name, label, CSS or XPath ```js I.appendField('#myTextField', 'appended'); +// typing secret +I.appendField('password', secret('123456')); ``` #### Parameters @@ -1985,6 +1987,9 @@ I.type('4141555311111111', 100); // passing in an array I.type(['T', 'E', 'X', 'T']); + +// passing a secret +I.type(secret('123456')); ``` #### Parameters