Skip to content

atomicleopard/WebElemental

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebElemental is a small library to make writing Selenium tests easier.

WebElemental introduces the Element class, which works with an API modeled on jQuery.
This means that web tests can be written in a way that is familiar to those used to CSS selectors and jQuery.

There are several key motivations for the creation of this library:

 * It is often just as necessary to verify the absence of elements as the presence of them - this is something that is challenging with the WebDriver interface
 * When using the page objects pattern (http://code.google.com/p/selenium/wiki/PageObjects) being bound to specific data can often make tests quite fragile. This has led to constructs such as Element.any() and Element.first()
 * Selection of elements is most naturally performed using CSS selectors by Web Developers - Selenium places equal weight on Xpath selection, which experience has shown tends to be more fragile.
 
Try it out, update your pom with:
<dependency>
	<groupId>com.atomicleopard</groupId>
	<artifactId>webelemental</artifactId>
	<name>webelemental</name>
	<version>0.0.1</version>
	<scope>test</scope>
</dependency>

About

No description, website, or topics provided.

Resources

License

GPL-3.0, LGPL-3.0 licenses found

Licenses found

GPL-3.0
LICENSE
LGPL-3.0
LICENSE.LESSER

Stars

Watchers

Forks

Packages

No packages published

Languages