import chromedriver is showing van not resolved to a type in testNG

0 votes
package testNG_basics;

import org.openqa.selenium.WebDriver;

import org.openqa.selenium.chrome.ChromeDriver;

import org.testng.annotations.BeforeClass;

public class Cooladmin_loginTest {

@BeforeClass

public void setup() {

System.setProperty("webdriver.chrome.driver","C:\\Users\\Lenovo\\Downloads\\chromedriver.exe");

WebDriver driver = new ChromeDriver();
Mar 28, 2022 in Selenium by Vaishnavi

edited Mar 4 29 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP