sridevihiranya
7 years agoOccasional Contributor
Unable to run selenium scripts in readyAPI
we have a requirement to run selenium scripts in readyAPI
Code:
------------
import org.openqa.selenium.By;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.WebDriver;
System.setProperty("webdriver.chrome.drive","C:/Users/Desktop/Files/logs/chromedriver.exe");
WebDriver driver = new ChromeDriver();
driver.get("http://www.google.com");
---------------
Get the following error : Could not initialize class org.openqa.selenium.json.Json
How to launch web browser ?