Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» FlexMonkium Download Not available under Gorillalogic site
Thu Dec 08, 2016 5:40 pm by bhanu.praveen

» Selenium Script issue
Tue Dec 06, 2016 9:48 pm by njain213

» Difference between QTP, Selenium and Silk test
Tue Dec 06, 2016 7:58 pm by jessicacyrus1

» Where does selenium script pick browser from
Tue Dec 06, 2016 1:52 pm by janbaskt

» Safari throws an HTTP ERROR: 404
Tue Dec 06, 2016 1:51 pm by janbaskt

» Access Denied Error in Selenium RC
Tue Dec 06, 2016 1:51 pm by janbaskt

» Automating Flex application through selenium webdriver
Fri Dec 02, 2016 2:06 pm by abhinay.krs

» Starting with Selenium, what is Selenium?
Mon Nov 28, 2016 4:00 pm by Foma

» Getting started with Selenium
Mon Nov 28, 2016 3:23 pm by Rebbelx

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

illegalAccessError while using chromedriver with selenuim

View previous topic View next topic Go down

illegalAccessError while using chromedriver with selenuim

Post by cloudeus on Sun Sep 30, 2012 12:38 am

Hi
I am getting IllegalAccessError while using chromedriver in selenium.I have added chromedriver.exe to my path ,and also set it in java code.here is my code

Code:
System.setProperty("webdriver.chrome.driver","C:/Users/me/Documents/chromedriver/chromedriver.exe");
 WebDriver driver = new ChromeDriver();

here is the console output :

Code:
Exception in thread "main" java.lang.IllegalAccessError: tried to access method org.openqa.selenium.remote.service.DriverService.checkExecutable(Ljava/io/File;)V from class org.openqa.selenium.chrome.ChromeDriverService
    at org.openqa.selenium.chrome.ChromeDriverService.access$000(ChromeDriverService.java:39)
    at org.openqa.selenium.chrome.ChromeDriverService$Builder.usingDriverExecutable(ChromeDriverService.java:104)
    at org.openqa.selenium.chrome.ChromeDriverService.createDefaultService(ChromeDriverService.java:72)
    at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:107)

I have also tried running the chromedriver.exe and then executing the code,still getting the error.

please help

cloudeus

Posts : 1
Join date : 2012-09-30

Back to top Go down

Re: illegalAccessError while using chromedriver with selenuim

Post by ashish_techie on Wed Oct 31, 2012 12:57 am

Make sure you have the latest chrome exe downloaded
Exe is separate for every OS. Make sure you have the right one

Regards
Ashish

For selenium tutorials:
www.qtpselenium.com/selenium-tutorials

ashish_techie
Amateur
Amateur

Posts : 73
Join date : 2011-08-09

Back to top Go down

Re: illegalAccessError while using chromedriver with selenuim

Post by devaraj on Thu Feb 20, 2014 12:25 pm

Hi,

Can anyone tell me the latest chrome driver exe for windows.....?
And also please pass me the link to download latest chrome driver exe for windows

Regards,
Devaraju A T

devaraj

Posts : 3
Join date : 2013-02-27

Back to top Go down

Re: illegalAccessError while using chromedriver with selenuim

Post by Sponsored content Today at 1:03 pm


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum