No description, website, or topics provided.
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
google
.gitignore
LICENSE
README.md
ghostly.py
requirements.txt
setup.py

README.md

Ghostly

Installation

> pip install -U git+https://github.com/sesh/ghostly

Running the sample tests

> ./ghostly.py google/search.yml

The actions and asserts available in ghostly are simple and straight forward. Check the source for better documentation.

Actions

  • load
  • click
  • fill
  • submit
  • wait
  • switch_to
  • navigate

Asserts

  • assert_text
  • assert_element
  • assert_value
  • assert_title
  • assert_url

Browsers

Currently ghostly supports running tests with one or more of chrome (via chromedriver), firefox and phantomjs.

Browser Stack

Use this form to create compatible combinations of browser capabilities, then create a remote dict in your yaml file like this:

browsers:
  - remote:
      url: "http://<username>:<password>@hub.browserstack.com:80/wd/hub"
      os: "Windows"
      os_version: "10"
      browser: "IE"
      browser_version: "11"
      resolution: "1680x1050"