Java Client Library - org.openqa.selenium.ContextAware cannot be resolved

2,168 views
Skip to first unread message

hari haran

unread,
May 30, 2014, 7:32:11 AM5/30/14
to appium-...@googlegroups.com
Hi,

I am getting below issues. Please suggest this happens when i using appiumdriver - javaclient

The type org.openqa.selenium.ContextAware cannot be resolved. It is indirectly referenced from required .class files.

Code:
private AppiumDriver driver;
 DesiredCapabilities capabilities = new DesiredCapabilities();
     capabilities.setCapability(CapabilityType.ACCEPT_SSL_CERTS, true);
    capabilities.setCapability(CapabilityType.BROWSER_NAME, "");
     capabilities.setCapability("device", "Selendroid");
     capabilities.setCapability(CapabilityType.VERSION, "4.1.1");
     capabilities.setCapability("app", "xxxxxxx"); 
     capabilities.setCapability("app-package", "yyyyyyyyy");    
     capabilities.setCapability("app-activity", "zzzzzzzz");
     capabilities.setCapability("newCommandTimeout",100000);
 wdriver = new AppiumDriver(new URL("http://127.0.0.1:4723/wd/hub"),capabilities);

Regards,
Hariharan

John La

unread,
Jun 4, 2014, 10:38:12 PM6/4/14
to appium-...@googlegroups.com
I have the same issue here, how did you solve it??

Sourabh Jain

unread,
Jul 3, 2014, 4:50:46 AM7/3/14
to appium-...@googlegroups.com
What's the Solution here ?

hari haran

unread,
Jul 3, 2014, 6:03:57 AM7/3/14
to appium-...@googlegroups.com
Issac,
Could you update on this. Am using latest jars files.
 
Regards,
Hariharan.

Isaac Murchie

unread,
Jul 3, 2014, 1:24:49 PM7/3/14
to hari haran, appium-...@googlegroups.com
Do you have the Selenium client jar in your class path? I think you need 2.42.2 or higher (if there is a higher).



--
http://appium.io
---
You received this message because you are subscribed to the Google Groups "Appium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to appium-discus...@googlegroups.com.
Visit this group at http://groups.google.com/group/appium-discuss.
For more options, visit https://groups.google.com/d/optout.

Sourabh Jain

unread,
Jul 3, 2014, 2:24:22 PM7/3/14
to Isaac Murchie, hari haran, appium-...@googlegroups.com
Updating to latest Selenium client jar ( 2.42.2 ) fixed the issue. 




--
http://appium.io
---
You received this message because you are subscribed to a topic in the Google Groups "Appium-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/appium-discuss/gRY89HDZfIk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to appium-discus...@googlegroups.com.



--
SourabH JaiN
Reply all
Reply to author
Forward
0 new messages