File tree Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Original file line number Diff line number Diff 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:
1621621 . Ensure the ` SMARTUI_SERVER_ADDRESS ` environment variable is set in your IDE's run configuration
1631632 . 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
You can’t perform that action at this time.
0 commit comments