Skip to content

Commit 8fb8c23

Browse files
authored
Merge pull request #1536 from JeeveshJ7/stage
Exec doc corrected
2 parents 744ee79 + f8fcf27 commit 8fb8c23

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

docs/smartui-cli-exec.md

+1-16
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ npx smartui exec:ping
116116

117117
### Step 1: Configure Server Address
118118

119-
For most test frameworks (except Selenium Java and JavaScript), you'll need to set the server address:
119+
For most test frameworks (except Selenium SDKs), you'll need to set the server address:
120120

121121
<Tabs className="docs__val" groupId="language">
122122
<TabItem value="MacOS/Linux" label="MacOS/Linux" default>
@@ -162,21 +162,6 @@ When running tests from IDEs like IntelliJ:
162162
1. Ensure the `SMARTUI_SERVER_ADDRESS` environment variable is set in your IDE's run configuration
163163
2. Configure the run configuration to use the appropriate test command
164164

165-
## Taking Snapshots in Scripts
166-
167-
You can capture snapshots in your test scripts using the SmartUI snapshot method. Here's a basic example:
168-
169-
```javascript
170-
// JavaScript example
171-
smartui.takeScreenshot("homepage");
172-
173-
// With options
174-
smartui.takeScreenshot("homepage", {
175-
fullPage: true,
176-
screenshotName: "custom-name"
177-
});
178-
```
179-
180165

181166
## Best Practices
182167

0 commit comments

Comments
 (0)