Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ngSe-0.1.6.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

ngSe-0.1.6-2.7-none-any.whl (10.9 kB view details)

Uploaded

File details

Details for the file ngSe-0.1.6.tar.gz.

File metadata

  • Download URL: ngSe-0.1.6.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ngSe-0.1.6.tar.gz
Algorithm Hash digest
SHA256 ad73ad9bd6dc1189bf7d65ce6595b11f0156651fdfc6e8dfbd2bef277c76c262
MD5 f0320056cf579ae71f3a6cf7ec441b43
BLAKE2b-256 eeea95d43ffab41a5009f17a7d83db885f99490e6eb8e3de6752c86e51bfc8fa

See more details on using hashes here.

File details

Details for the file ngSe-0.1.6-2.7-none-any.whl.

File metadata

File hashes

Hashes for ngSe-0.1.6-2.7-none-any.whl
Algorithm Hash digest
SHA256 91622b2f9debcae46f8aea3b79a0b724dcc1cae5d6249684f0e0a9242980b39e
MD5 1ed198f267d8a318e486d752f7e3eb2f
BLAKE2b-256 f6ce7deb978ea29dd16489eb936b475cd3c887359cdd340f885e01ff89100cdd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page