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
Post a Comment