• +43 660 1453541
  • contact@germaniumhq.com

Download

Germanium offers packages for Python, and Java, that greatly simplify the API of Selenium. Tests become readable, with constructs that actually make sense. Look here for a small sample on how the code is going to look with Germanium.

To go a step further in setting up the testing infrastructure, Germanium offers both Docker images that can bring a Selenium Grid up, and a Windows binary to help quickly provision virtual machines from modern.ie.

Python 2 or 3

Unlike other testing libraries, Germanium is available straight from pip, so simply calling:

pip install germanium

will make it available. This is great, because it simplifies your setup, since there's no need to provision each developer machine individually, and tinker with the libraries on a manual basis.

Java

The Java version is published on the GermaniumHQ's maven server: maven.germaniumhq.com. Of course, after you add the Maven repository, you need to add the Germanium dependency:

<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.test</groupId>
  <artifactId>test</artifactId>
  <version>1.0.0</version>

  <repositories>
    <repository>
      <id>germanium</id>
      <name>GermaniumHQ</name>
      <url>http://maven.germaniumhq.com</url>
    </repository>
  </repositories>

  <dependencies>
    <dependency>
      <groupId>com.germaniumhq</groupId>
      <artifactId>germanium</artifactId>
      <version>2.0.11</version><!-- Germanium -->
    </dependency>
  </dependencies>
</project>

Selenium Hub Docker

To start a Selenium Hub, you can just use the nodes that are provisioned by Germanium. For example to quickly run a Selenium Hub on your docker host you can:

docker run -d \
    --name germanium-hub \
    -p 4444:4444 \
    germaniumhq/hub

docker run -d \
    --name germanium-node-chrome \
    -e NODE_MAX_SESSION=10 \
    -e NODE_MAX_INSTANCES=10 \
    -p 15901:5901 \
    --link germanium-hub:hub \
    germaniumhq/node-chrome

docker run -d \
    --name germanium-node-firefox \
    -e NODE_MAX_SESSION=10 \
    -e NODE_MAX_INSTANCES=10 \
    -p 15902:5901 \
    --link germanium-hub:hub \
    germaniumhq/node-firefox

Selenium Node Windows Provisioner (beta)

For Windows nodes, Germanium provides a tool that will automatically provision your host, so you can get it to run in your Selenium Grid automatically.

Download link: germanium-get.exe