Skip to content

Exec doc corrected #1536

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 24, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 1 addition & 16 deletions docs/smartui-cli-exec.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ npx smartui exec:ping

### Step 1: Configure Server Address

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

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

## Taking Snapshots in Scripts

You can capture snapshots in your test scripts using the SmartUI snapshot method. Here's a basic example:

```javascript
// JavaScript example
smartui.takeScreenshot("homepage");

// With options
smartui.takeScreenshot("homepage", {
fullPage: true,
screenshotName: "custom-name"
});
```


## Best Practices

Expand Down
Loading