Skip to content

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

License

Notifications You must be signed in to change notification settings

testdotai/python-selenium-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

test.ai sdk logo

Python 3.7+ Apache 2.0 PyPI Discord

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

In your terminal, run

pip install test-ai-selenium

Tutorial

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

Resources