Skip to content

🤖 Unleash the full power of test.ai into your Java Selenium tests

License

Notifications You must be signed in to change notification settings

testdotai/java-selenium-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

test.ai sdk logo

JDK-11+ javadoc Maven Central Apache 2.0 Discord Twitter

The test.ai selenium SDK is a simple library that makes it easy to write robust cross-browser web tests backed by computer vision and artificial intelligence.

test.ai integrates seamelessly with your existing tests, and will act as backup if your selectors break/fail by attempting to visually (computer vision) identify elements.

The test.ai SDK is able to accomplish this by automatically ingesting your selenium elements (using both screenshots and element names) when you run your test cases with test.ai for the first time.

The SDK is accompanied by a web-based editor which makes building visual test cases easy; you can draw boxes around your elements instead of using fragile CSS or XPath selectors.

Install

Add the following line(s) to the dependencies section in your

pom.xml (Maven)

<dependency>
  <groupId>ai.test.sdk</groupId>
  <artifactId>test-ai-selenium</artifactId>
  <version>0.2.0</version>
</dependency>

build.gradle (Gradle)

implementation 'ai.test.sdk:test-ai-selenium:0.2.0'

Tutorial

We have a detailed step-by-step tutorial which will help you get set up with the SDK: https://github.com/testdotai/java-selenium-sdk-demo

Resources