Selenium Maven Dependencies: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
Line 26: Line 26:
   <artifactId>selenium-chrome-driver</artifactId>
   <artifactId>selenium-chrome-driver</artifactId>
   <version>3.X</version>
   <version>3.X</version>
</dependency>
</syntaxhighlight>
==<tt>selenium-server</tt>==
<syntaxhighlight lang='xml'>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-server</artifactId>
<version>3.X</version>
</dependency>
</dependency>
</syntaxhighlight>
</syntaxhighlight>

Latest revision as of 22:55, 28 May 2021

External

Internal

Dependencies

selenium-java

All Selenium-supported browsers are supported with this:

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

For a specific browser:

<dependency>
  <groupId>org.seleniumhq.selenium</groupId>
  <artifactId>selenium-firefox-driver</artifactId>
  <version>3.X</version>
</dependency>
<dependency>
  <groupId>org.seleniumhq.selenium</groupId>
  <artifactId>selenium-chrome-driver</artifactId>
  <version>3.X</version>
</dependency>

selenium-server

<dependency>
 <groupId>org.seleniumhq.selenium</groupId>
 <artifactId>selenium-server</artifactId>
 <version>3.X</version>
</dependency>