Skip to content

Latest commit

History

History
42 lines (31 loc) 路 2.15 KB

README.md

File metadata and controls

42 lines (31 loc) 路 2.15 KB

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