Professional Documents
Culture Documents
NTH
NTH
NTH
import java.time.Duration;
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.By;
import org.openqa.selenium.chrome.ChromeDriver;
public class main{
public static void main(String[] args) throws InterruptedException
{
System.setProperty("webdriver.chrome.driver", "C:\\Users\\Manoj\\
Downloads\\selenium-java-4.16.1");
ChromeDriver driver;
//Thread.sleep(100);
driver.findElement(By.xpath("//span[text ()='*'][1]").click());
}
}
https://jar-download.com/artifacts/org.seleniumhq.selenium/selenium-java/3.141.59/
source-code