Selenium 3.0 Chrome driver throwing exception

136 צפיות
מעבר להודעה הראשונה שלא נקראה

King Arsan

לא נקראה,
18 באוק׳ 2016, 5:07:3218.10.2016
עד Selenium Users
Hi,

Updated to Selenium 3.0 and running the test in chrome driver,


driver.switchTo().defaultContent();

is throwing below exception ?


      java.lang.IllegalAccessError: tried to access field com.google.gson.JsonNull.INSTANCE from class org.openqa.selenium.remote.BeanToJsonConverter
      at org.openqa.selenium.remote.BeanToJsonConverter.convertObject(BeanToJsonConverter.java:95)
      at org.openqa.selenium.remote.BeanToJsonConverter.convertObject(BeanToJsonConverter.java:143)
      at org.openqa.selenium.remote.BeanToJsonConverter.convertObject(BeanToJsonConverter.java:86)
      at org.openqa.selenium.remote.BeanToJsonConverter.convert(BeanToJsonConverter.java:66)
      at org.openqa.selenium.remote.http.AbstractHttpCommandCodec.encode(AbstractHttpCommandCodec.java:289)
      at org.openqa.selenium.remote.http.AbstractHttpCommandCodec.encode(AbstractHttpCommandCodec.java:147)
      at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:157)
      at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:82)
      at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:601)
      at org.openqa.selenium.remote.RemoteWebDriver$RemoteTargetLocator.defaultContent(RemoteWebDriver.java:967)
השב לכולם
השב למחבר
העבר לנמענים
0 הודעות חדשות