A Selenium browser for javascript frameworks
Project description
Pronounced: en-gee-see
ngSe is a browser abstraction on top of the Selenium driver, designed specifically to ease testing of apps using heavy asynchronous javascript DOM manipulation (specifically, AngularJS).
The idea here is centered around defining things as a “how to find” rather than concrete objects, and using smart retry-loops to properly wait for things to happen. This can be expanded much more than it currently is (I’m thinking lazy evaluation of an ‘Element’ abstract type), but for now this is helpful.
There are a lot of things left to do within its current scope:
Better documentation and introduction material
Have the adaptor work on other-than-chromedriver (might be my first dive into meta-classes and/or class factories :D)
Support Python 3
Slice out the design-by-contract stuff into a separate library (and expand it)
Figure out what is still fairly application specific, and remove/rework it.
Come up with a clear definition of responsibility: when to return values and when to raise exceptions.
Find bugs.
Fix bugs.
Expand, EXPAND!!!!!
And there are ideas on expanding the scope!
Create an ‘Element’ type which holds the search definition, rather than test-level search paths (normalization yo)
More help around finding elements in more specific applications (currently just targeting AngularJS setups)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ngSe-0.1.3.tar.gz
.
File metadata
- Download URL: ngSe-0.1.3.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f10421e0ca0d2bd7b445e1cdc1a0c3821e7c7211e9cbde1d0e140114f19270e |
|
MD5 | bb507b1b6282a419f04533a37cb27f53 |
|
BLAKE2b-256 | 13dbbfd190e7bcbda8f79824724f81574f6bc6f3d8ea03902dc4f568f2a953a9 |
File details
Details for the file ngSe-0.1.3-2.7-none-any.whl
.
File metadata
- Download URL: ngSe-0.1.3-2.7-none-any.whl
- Upload date:
- Size: 10.5 kB
- Tags:
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5df68a2a5fe3c3613e19d78ba93eb8bb91f823309a43697caa1e835cf3ce2d7b |
|
MD5 | d077d45029aa0c4054697f41532cce40 |
|
BLAKE2b-256 | 3892fc1ef58e7a827b12043e685bc34204811d1dc6e1a13e97b1958d4087f95c |