Using Robot framework + Selenium Java with Maven (and no extra installs)?

113 views
Skip to first unread message

anar...@gmail.com

unread,
Jan 11, 2018, 6:03:28 PM1/11/18
to robotframework-users
I've been using Robot Framework with Selenium and having all managed by Maven. But I found out the library I normally use is deprecated. These are the only dependencies in my pom.xml:

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

<dependency>
 
<groupId>com.github.markusbernhardt</groupId>
 
<artifactId>robotframework-selenium2library-java</artifactId>
 
<version>1.4.0.8</version>
</dependency>

And there's also this plugin:

    <plugin>
       
<groupId>org.robotframework</groupId>
       
<artifactId>robotframework-maven-plugin</artifactId>
       
<version>1.4.7</version>
       
<executions>
         
<execution>
           
<goals>
             
<goal>run</goal>
           
</goals>
         
</execution>
       
</executions>
       
<configuration>
         
<includes>
           
<include>${robot-tag}</include>
         
</includes>
       
</configuration>
     
</plugin>

The thing is, I haven't been found a maven dependency for an "official" version of robot framework for java. Only found markusbernhardt's which I now know is deprecated. Is there anything else I can use? Please keep in mind I don't intend to manually download or install any libraries. I want the whole thing to be managed by maven.
Thanks.

Jaakko Salminen

unread,
Jan 12, 2018, 1:47:54 AM1/12/18
to robotframework-users
There is a new maintainer for the Selenium librarys Java port:

I have used this successfully to replace the markusbernhardt's depracated one.
Reply all
Reply to author
Forward
0 new messages