java - Selenium error 'Permission denied to access property' -


is there way resolve 'permission denied access property' error?

i have following code:

system.setproperty("webdriver.gecko.driver","/home/ xxx /documents/selenium/geckodriver"); webdriver driver = new firefoxdriver();  driver.get("https:/unsplash.com/"); system.out.println(driver.getpagesource()); 

and last line, 'getpagesource()' causing error:

exception in thread "main" org.openqa.selenium.webdriverexception: permission denied access property "__raven_wrapper__"  

(warning: server did not provide stacktrace information)

i've seen in question (permission denied access property "document") overcome error use chrome driver instead.

is problem firefoxdriver or there way around?

thanks,


Comments

Popular posts from this blog

php - Auto increment employee ID -

python - Evaluating the next line in a For Loop while in the current iteration -

php - Facebook share link is not showing image within the post?(get parameter in url) -