0


import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;  
  
public class First {  
  
    public static void main(String[] args) {  
        
    // declaration and instantiation of objects/variables  
    System.setProperty("webdriver.chrome.driver", "D:\\chromedriver.exe");  
    WebDriver driver=new ChromeDriver();  
      
    // Launch website  
    driver.navigate().to("http://www.google.com/");  
          
    // Click on the search text box and send value  
    driver.findElement(By.id("input")).sendKeys("javatpoint tutorials");  
          
    // Click on the search button  
     
      
    }  
  
}  

This is the problem I m having the library is not accessible even though I installed and configured coorectly.

Aakash V
  • 43
  • 7
  • Possible duplicate of: https://stackoverflow.com/questions/52343704/how-to-make-an-internal-java-package-accessible-in-eclipse – Pieter12345 May 22 '21 at 07:29
  • it is still showing some error can you help me with that? – Aakash V May 22 '21 at 07:46
  • Error occurred during initialization of boot layer java.lang.module.FindException: Unable to derive module descriptor for C:\Users\AAKASH\Downloads\selenium-server-standalone-3.141.59.jar Caused by: java.lang.module.InvalidModuleDescriptorException: Provider class org.eclipse.jetty.http.Http1FieldPreEncoder not in module – Aakash V May 22 '21 at 07:46

0 Answers0