From 23313fdec1c216034bb3841b2be5add457f3277f Mon Sep 17 00:00:00 2001 From: Vishnusingh31 Date: Tue, 28 May 2024 22:54:39 +0530 Subject: [PATCH 1/4] Update TestNGTodo1.java --- src/test/java/com/lambdatest/TestNGTodo1.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/com/lambdatest/TestNGTodo1.java b/src/test/java/com/lambdatest/TestNGTodo1.java index 1624cde..ea077f9 100644 --- a/src/test/java/com/lambdatest/TestNGTodo1.java +++ b/src/test/java/com/lambdatest/TestNGTodo1.java @@ -21,7 +21,7 @@ public class TestNGTodo1 { @BeforeMethod public void setup(Method m, ITestContext ctx) throws MalformedURLException { - System.setProperty("webdriver.chrome.driver", "/Users/pramod/Documents/driver/chromedriver"); + System.setProperty("webdriver.chrome.driver", "/usr/local/bin/chromedriver"); driver = new ChromeDriver(); } @@ -91,4 +91,4 @@ public void tearDown() { driver.quit(); } -} \ No newline at end of file +} From 7224552b10e559c016cab1b6dbf73843aea4a995 Mon Sep 17 00:00:00 2001 From: Vishnusingh31 Date: Tue, 28 May 2024 22:55:14 +0530 Subject: [PATCH 2/4] Update TestNGTodo2.java --- src/test/java/com/lambdatest/TestNGTodo2.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/com/lambdatest/TestNGTodo2.java b/src/test/java/com/lambdatest/TestNGTodo2.java index 0008d45..d3aa23d 100644 --- a/src/test/java/com/lambdatest/TestNGTodo2.java +++ b/src/test/java/com/lambdatest/TestNGTodo2.java @@ -21,7 +21,7 @@ public class TestNGTodo2 { @BeforeMethod public void setup(Method m, ITestContext ctx) throws MalformedURLException { - System.setProperty("webdriver.chrome.driver", "D:\\Project\\Java-TestNG-Selenium\\driver\\chromedriver.exe"); + System.setProperty("webdriver.chrome.driver", "/usr/local/bin/chromedriver"); driver = new ChromeDriver(); } @@ -89,4 +89,4 @@ public void tearDown() { driver.quit(); } -} \ No newline at end of file +} From 38658e8b224a7656f7ae5c638e529dd780cb15e6 Mon Sep 17 00:00:00 2001 From: Vishnusingh31 Date: Tue, 28 May 2024 22:55:43 +0530 Subject: [PATCH 3/4] Update TestNGTodo3.java --- src/test/java/com/lambdatest/TestNGTodo3.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/com/lambdatest/TestNGTodo3.java b/src/test/java/com/lambdatest/TestNGTodo3.java index ff39534..9777c98 100644 --- a/src/test/java/com/lambdatest/TestNGTodo3.java +++ b/src/test/java/com/lambdatest/TestNGTodo3.java @@ -21,7 +21,7 @@ public class TestNGTodo3 { @BeforeMethod public void setup(Method m, ITestContext ctx) throws MalformedURLException { - System.setProperty("webdriver.chrome.driver", "/Users/pramod/Documents/driver/chromedriver"); + System.setProperty("webdriver.chrome.driver", "/usr/local/bin/chromedriver"); driver = new ChromeDriver(); } @@ -90,4 +90,4 @@ public void tearDown() { driver.quit(); } -} \ No newline at end of file +} From d2bd55f66428cf3560173dc29b9f80cf7f1d5be1 Mon Sep 17 00:00:00 2001 From: Vishnusingh31 Date: Tue, 28 May 2024 22:56:06 +0530 Subject: [PATCH 4/4] Update TestNGTodoMobile.java --- src/test/java/com/lambdatest/TestNGTodoMobile.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/com/lambdatest/TestNGTodoMobile.java b/src/test/java/com/lambdatest/TestNGTodoMobile.java index 637c4d1..869e572 100644 --- a/src/test/java/com/lambdatest/TestNGTodoMobile.java +++ b/src/test/java/com/lambdatest/TestNGTodoMobile.java @@ -21,7 +21,7 @@ public class TestNGTodoMobile { @BeforeMethod public void setup(Method m, ITestContext ctx) throws MalformedURLException { - System.setProperty("webdriver.chrome.driver", "/Users/pramod/Documents/driver/chromedriver"); + System.setProperty("webdriver.chrome.driver", "/usr/local/bin/chromedriver"); driver = new ChromeDriver(); } @@ -89,4 +89,4 @@ public void tearDown() { driver.quit(); } -} \ No newline at end of file +}