-## Build stop command
----
-
+## `build-stop` command
You can use the `build-stop` command to stop all the test in the build.
```bash
@@ -137,36 +147,13 @@ Given below are the additional arguments available with the `build-stop` command
| Flag | Purpose |
| -------------------- | --------- |
-| **--id, --session_id** | Identifies the session |
-| **--sls, --stop_last_session** | Stop the last test session |
+| `--id, --session_id` | Identifies the session |
+| `--sls, --stop_last_session` | Stop the last test session |
-**Example**: `--stop_last_session`
+- `--stop_last_session`
-**Example**: `--session_id`
-
-
-
-
-
-
+- `--session_id`
+
\ No newline at end of file
diff --git a/docs/lambdatest-public-ip.md b/docs/lambdatest-public-ip.md
index 54b4e4a02..ef70360f7 100644
--- a/docs/lambdatest-public-ip.md
+++ b/docs/lambdatest-public-ip.md
@@ -93,12 +93,10 @@ These are the list of the IP ranges that you need to whitelist with respect to t
- **23.82.88.184**
- **23.106.34.219**
- **23.106.54.77**
-
->Below are IPs that will be deprecated soon
-> - 3.214.241.254
-> - 52.36.84.247
-> - 13.126.37.58
-> - 3.66.78.89
+- **3.214.241.254**
+- **52.36.84.247**
+- **13.126.37.58**
+- **3.66.78.89**
## LambdaTest Integration Tools
-- **3.208.126.109**
+- **3.208.126.109**
\ No newline at end of file
diff --git a/docs/smartui-playwright-java-sdk.md b/docs/smartui-playwright-java-sdk.md
new file mode 100644
index 000000000..102486518
--- /dev/null
+++ b/docs/smartui-playwright-java-sdk.md
@@ -0,0 +1,458 @@
+---
+id: smartui-playwright-java-sdk
+title: Integrate SmartUI SDK with Playwright - Java
+sidebar_label: Java
+description: In this documentation, learn how integrate your Playwright Java automated tests with LambdaTest's SmartUI.
+keywords:
+ - Visual Regression
+ - Visual Regression Testing Guide
+ - Visual Regression Test Automation
+ - Visual Regression Automation Testing
+ - Running Visual Regression Tests
+ - Visual Regression Testing Online
+ - Run Visual Regression
+ - Visual Regression Run Specific Test
+ - Visual Regression Testing Environment
+ - How to Run Visual Regression Tests
+
+url: https://www.lambdatest.com/support/docs/smartui-playwright-java-sdk/
+slug: smartui-playwright-java-sdk/
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+import NewTag from '../src/component/newTag';
+import CodeBlock from '@theme/CodeBlock';
+import {YOUR_LAMBDATEST_USERNAME, YOUR_LAMBDATEST_ACCESS_KEY} from "@site/src/component/keys";
+
+
+The SmartUI SDK is a powerful tool that simplifies the process of capturing, comparing, and analyzing screenshots across multiple browsers and resolutions. By combining the strengths of Playwright's automation capabilities with SmartUI's visual testing features, you can:
+
+- Ensure your application's UI is consistent across all supported environments.
+- Detect and address visual discrepancies early in the development lifecycle.
+- Streamline your testing process with minimal setup and maximum coverage.
+
+This documentation provides step-by-step instructions for developers and QA engineers to integrate the SmartUI SDK with Playwright-Java, enabling reliable and efficient visual regression testing.
+
+## Prerequisites
+
+- Basic understanding of Command Line Interface and Playwright is required.
+- Login to [LambdaTest SmartUI](https://smartui.lambdatest.com/) with your credentials.
+
+## Steps to run your first test
+Follow these steps to successfully run your first visual regression test on the LambdaTest platform with the SmartUI Playwright SDK integration.
+
+### Step 1: Create a SmartUI Project
+
+The first step is to create a project with the application in which we will combine all your builds run on the project. To create a SmartUI Project, follow these steps:
+
+1. Go to [Projects page](https://smartui.lambdatest.com/)
+2. Click on the `new project` button
+3. Select the platform as CLI for executing your `SDK` tests.
+4. Add name of the project, approvers for the changes found, tags for any filter or easy navigation.
+5. Click on the **Submit**.
+
+### Step 2: Configure Your Test Suite
+
+You can use your own project to configure and test it. For demo purposes, we are using the sample repository.
+
+:::tip Sample repo
+Download or Clone the code sample for the Java from the LambdaTest GitHub repository to run the tests on the SmartUI.
+
+
+
+
+### Step 5: Create and Configure SmartUI Config
+
+You can now configure your project configurations on using various available options to run your tests with the SmartUI integration. To generate the configuration file, please execute the following command:
+
+```bash
+npx smartui config:create smartui-web.json
+```
+
+Once, the configuration file will be created, you will be seeing the default configuration pre-filled in the configuration file:
+
+```json title="/smartui-sdk-project/.smartui.json"
+{
+ "web": {
+ "browsers": [
+ "chrome",
+ "firefox",
+ "safari",
+ "edge"
+ ],
+ "viewports": [
+ [
+ 1920
+ ],
+ [
+ 1366
+ ],
+ [
+ 1028
+ ]
+ ] // Full Page screenshots are captured by default for web viewports
+ },
+ "mobile": {
+ "devices": [
+ "iPhone 14", //iPhone 14 viewport
+ "Galaxy S24" //Galaxy S24 viewport
+ ],
+ "fullPage": true, //Full Page is true by default for mobile viewports
+ "orientation": "portrait" //Change to "landscape" for landscape snapshot
+ },
+ "waitForTimeout": 1000, //Optional (Should only be used in case lazy-loading/async components are present)
+ "waitForPageRender": 50000, //Optional (Should only be used in case of websites which take more than 30s to load)
+ "enableJavaScript": false, //Enable javascript for all the screenshots of the project
+ "allowedHostnames": [] //Additional hostnames to capture assets from
+}
+```
+:::info Advanced options in SmartUI configuration
+- For capturing fullpage or viewport screenshots, please refer to this [documentation](/docs/smartui-sdk-config-options/#12-viewports)
+- For the list of available mobile viewports, please refer to this [documentation](/docs/smartui-sdk-config-options/#list-of-supported-device-viewports)
+- For more information about SmartUI config global options, please refer to this [documentation](/docs/smartui-sdk-config-options/#3-global-options-optional).
+:::
+
+### Step 6: Adding SmartUI function to take screenshot
+You can incorporate SmartUI into your custom `Playwright` automation test (any platform) script by adding the `smartuiSnapshot` function in the required segment of Playwright script of which we would like to take the screenshot, as shown below:
+
+```java reference
+https://github.com/LambdaTest/smartui-java-playwright-sample/blob/main/src/test/java/com/lambdatest/SmartUISDKPlaywrightCloud.java
+```
+
+### Step 6: Execute the Tests on SmartUI Cloud
+
+Execute visual regression tests on SmartUI using the following commands
+
+```bash
+npx smartui exec -- mvn test -D suite=sdk-playwright-local-java.xml
+```
+
+:::note
+You may use the `npx smartui --help` command in case you are facing issues during the execution of SmartUI commands in the CLI.
+:::
+
+## View SmartUI Results
+
+You have successfully integrated SmartUI SDK with your Playwright tests. Visit your SmartUI project to view builds and compare snapshots between different test runs.
+
+You can see the Smart UI dashboard to view the results. This will help you identify the Mismatches from the existing `Baseline` build and do the required visual testing.
+
+
+
+
+## Arguments supported in the `smartUISnapshot` function
+
+The following are the different options which are currently supported:
+
+| Key | Description |
+| ------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
+| `driver` (instance) | The instance of the web driver used in your tests. |
+| `"Screenshot Name"` (string) | Specify a name for the screenshot in your tests to match the same screenshot with the name from your baseline. |
+| `options` (object) | Specify one or a combination of selectors in the `ignoreDOM` or `selectDOM` objects. These selectors can be based on `HTML DOM IDs, CSS classes, CSS selectors, or XPaths` used by your webpage. They define elements that should be excluded from or included in the visual comparison.|
+
+
+## Handling Dynamic Data in SmartUI SDK **
-
-
## Arguments supported in the `smartUISnapshot` function
The following are the different options which are currently supported:
@@ -432,23 +427,3 @@ smartui_snapshot(page,"Ensure your web-apps work seamlessly on every desktop and mobile browsers
+Your Ultimate Resource for Seamless Cross-Browser Testing Across Desktop and Mobile Platforms
diff --git a/sidebars.js b/sidebars.js
index f7965d8dd..ee2f7a09e 100644
--- a/sidebars.js
+++ b/sidebars.js
@@ -2767,6 +2767,11 @@ module.exports = {
collapsed: true,
// id: "smart-visual-regression-testing",
items: [
+ {
+ type: "doc",
+ label: "Java",
+ id: "smartui-playwright-java-sdk",
+ },
{
type: "doc",
label: "Javascript",