diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 0000000..26d3352
--- /dev/null
+++ b/.idea/.gitignore
@@ -0,0 +1,3 @@
+# Default ignored files
+/shelf/
+/workspace.xml
diff --git a/.idea/misc.xml b/.idea/misc.xml
new file mode 100644
index 0000000..639900d
--- /dev/null
+++ b/.idea/misc.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
new file mode 100644
index 0000000..8e7d669
--- /dev/null
+++ b/.idea/modules.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..35eb1dd
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/webdriverio-selenium-sample.iml b/.idea/webdriverio-selenium-sample.iml
new file mode 100644
index 0000000..d6ebd48
--- /dev/null
+++ b/.idea/webdriverio-selenium-sample.iml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/conf/single.conf.js b/conf/single.conf.js
index f59ba91..f394b49 100755
--- a/conf/single.conf.js
+++ b/conf/single.conf.js
@@ -16,14 +16,19 @@ exports.config = {
specs: ["../tests/specs/single_test.js"],
exclude: [],
- capabilities: [
- {
- "LT:Options": {
- browserName: "chrome",
- version: "latest",
- name: "Test WebdriverIO Single",
- build: "WebDriver Selenium Sample"
- }
+ capabilities: [{
+ "browserName": "Chrome",
+ "browserVersion": "138",
+ "LT:Options": {
+ "username": "paulrajmail",
+ "accessKey": "LT_xozkF4UN07H5UNJ9cHsni7TvSwPmTEBbnTXMOZPsPICgsLi",
+ "visual": true,
+ "video": true,
+ "platformName": "Windows 10",
+ "project": "Untitled",
+ "w3c": true,
+ "plugin": "node_js-webdriverio"
+ }
}],
logLevel: "info",
coloredLogs: true,
diff --git a/package.json b/package.json
index cacea2a..6ebe5a9 100755
--- a/package.json
+++ b/package.json
@@ -4,7 +4,8 @@
"readme": "WebdriverIO Integration with [LambdaTest](https://www.lambdatest.com)",
"description": "Selenium examples for WebdriverIO and LambdaTest Selenium Grid",
"scripts": {
- "test": "npm run single && npm run parallel && npm run multiple",
+ "test1": "npm run single && npm run parallel && npm run multiple",
+ "test": "npm run multiple",
"single": "./node_modules/.bin/wdio conf/single.conf.js",
"singleSmartUI": "./node_modules/.bin/wdio conf/singleSmartUI.conf.js",
"parallel": "./node_modules/.bin/wdio conf/parallel.conf.js",
diff --git a/tests/specs/dragDropSliders.e2e.js b/tests/specs/dragDropSliders.e2e.js
new file mode 100644
index 0000000..9c80afa
--- /dev/null
+++ b/tests/specs/dragDropSliders.e2e.js
@@ -0,0 +1,33 @@
+describe('LambdaTest Drag & Drop Sliders', () => {
+ it('should drag the slider to 95', async () => {
+ // 1. Open URL and Click "Drag & Drop Sliders"
+ await browser.url('https://www.lambdatest.com/selenium-playground');
+ const dragDropLink = await $('=Drag & Drop Sliders'); // Using link text selector
+ await dragDropLink.click();
+
+ // 2. Select the slider "Default value 15" and drag the bar to make it 95
+ // You MUST inspect the page to get the correct locator for the slider input and its output value.
+ // Assuming a structure like and