Using new versions of Selenium?

40 views
Skip to first unread message

Matt Green

unread,
Sep 24, 2013, 5:26:53 AM9/24/13
to subs...@googlegroups.com
Hi,

we're using Substeps 1.1.0 under Maven and I see webdriver-substeps:1.1.0 is is dependant upon selenium-java:2.28.0

Do you have any plans to update the dependency to selenium-java:2.32.0 ?

Thanks
Matt

Ian Moore

unread,
Sep 30, 2013, 10:30:52 AM9/30/13
to subs...@googlegroups.com
Hi Matt,

We'll hopefully have a new release of Substeps out soon, however in the meantime you can override the version of selenium that webdriver-substeps pulls in.  In your pom.xml file you will have a dependency on webdriver-substeps similar to the fragment below, if you add the highlighted sections you can use a different version of selenium-java.

    <dependency>
        <groupId>com.technophobia.substeps</groupId>
        <artifactId>webdriver-substeps</artifactId>
        <version>${substeps.webdriver.version}</version>
        <scope>test</scope>
       
        <exclusions>
            <exclusion>
                <groupId>org.seleniumhq.selenium</groupId>
                <artifactId>selenium-java</artifactId>
            </exclusion>
        </exclusions>

       
    </dependency>
   
    <dependency>
        <groupId>org.seleniumhq.selenium</groupId>
        <artifactId>selenium-java</artifactId>
        <version>2.35.0</version>
    </dependency>


I hope that helps
cheers
Ian

Matt Green

unread,
Sep 30, 2013, 10:33:51 AM9/30/13
to subs...@googlegroups.com

Ah, thanks, didn't think of excluding the original dependency first.
Reply all
Reply to author
Forward
0 new messages