Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java -client4.1 "EventFiringWebDriverFactory.getEventFiringWebDriver"capabilities turn to null #450

Closed
tutunang opened this issue Aug 5, 2016 · 5 comments
Assignees
Labels

Comments

@tutunang
Copy link

tutunang commented Aug 5, 2016

Description

use java-client 4.1 found 👍

capabilities.setCapability(MobileCapabilityType.BROWSER_NAME, browser_Name);
capabilities.setCapability(MobileCapabilityType.PLATFORM_NAME, platform_Name);
capabilities.setCapability(MobileCapabilityType.DEVICE_NAME,device_Name);
capabilities.setCapability(MobileCapabilityType.PLATFORM_VERSION, platform_Version);

  driver = new AndroidDriver(new URL(hubURL),capabilities);
  driver2= EventFiringWebDriverFactory.getEventFiringWebDriver(driver, new AlertListener(), new ElementListener());

the driver2 is null!!!!!

when i debug found when the code run into "EventFiringWebDriverFactory.getEventFiringWebDriver(driver, new AlertListener(), new ElementListener());"

the capabilities turn to null;

Environment

jdk 1,7
java -client 4.1
selenium 2.53

@TikhomirovSergey TikhomirovSergey self-assigned this Aug 5, 2016
@TikhomirovSergey TikhomirovSergey mentioned this issue Aug 5, 2016
3 tasks
@TikhomirovSergey
Copy link
Contributor

@tutunang
The fix is there #451

@tutunang
Copy link
Author

tutunang commented Aug 9, 2016

excuse me!when could we hava new version 4.1.1?

@SrinivasanTarget
Copy link
Member

@tutunang It's available in Maven Central Repo already. http://search.maven.org/#artifactdetails%7Cio.appium%7Cjava-client%7C4.1.1%7C

@tutunang
Copy link
Author

tutunang commented Aug 9, 2016

@SrinivasanTarget ok! 4.1.1 has been useda moment ago! there is no problem!

@SrinivasanTarget
Copy link
Member

@tutunang Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants