Skip to content

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

Closed

Description

@tutunang

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

Activity

  1. TikhomirovSergey commented on Aug 5, 2016

    @TikhomirovSergey
    Contributor

    @tutunang
    The fix is there #451

  2. added a commit that references this issue on Aug 6, 2016
  3. tutunang commented on Aug 9, 2016

    @tutunang
    Author

    excuse me!when could we hava new version 4.1.1?

  4. SrinivasanTarget commented on Aug 9, 2016

    @SrinivasanTarget
    Member
  5. tutunang commented on Aug 9, 2016

    @tutunang
    Author

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

  6. SrinivasanTarget commented on Aug 9, 2016

    @SrinivasanTarget
    Member

    @tutunang Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions