Skip to content

Commit a09fb0e

Browse files
Update src/tools/sdk-utils/percy-automate/constants.ts
Co-authored-by: Copilot <[email protected]>
1 parent bebfd39 commit a09fb0e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/tools/sdk-utils/percy-automate/constants.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,12 @@ exports.config = {
255255
256256
Example:
257257
\`\`\`javascript
258-
const { percy } = require('browsersstack-node-sdk');
258+
const { percy } = require('browserstack-node-sdk');
259+
2. Add the \`await percy.screenshot(driver, name)\` method at required points in your test script.
260+
261+
Example:
262+
\`\`\`javascript
263+
const { percy } = require('browserstack-node-sdk');
259264
describe("WebdriverIO Test", () => {
260265
it("my test", async () => {
261266
// ....

0 commit comments

Comments
 (0)