Skip to content
Open
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions src/test/java/com/lambdatest/TestNGTodo1.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();

}
Expand Down Expand Up @@ -91,4 +91,4 @@ public void tearDown() {
driver.quit();
}

}
}
4 changes: 2 additions & 2 deletions src/test/java/com/lambdatest/TestNGTodo2.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down Expand Up @@ -89,4 +89,4 @@ public void tearDown() {
driver.quit();
}

}
}
4 changes: 2 additions & 2 deletions src/test/java/com/lambdatest/TestNGTodo3.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();

}
Expand Down Expand Up @@ -90,4 +90,4 @@ public void tearDown() {
driver.quit();
}

}
}
4 changes: 2 additions & 2 deletions src/test/java/com/lambdatest/TestNGTodoMobile.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down Expand Up @@ -89,4 +89,4 @@ public void tearDown() {
driver.quit();
}

}
}