A simple navigation framework
Project description
Introduction
Simple navigation framework supporting complex designs
Usage
An example is below
from navmazing import Navigate, NavigateStep, NavigateToSibling
navigate = Navigate()
class Provider(object):
def __init__(self, name):
self.name = name
@navigate.register(Provider, 'New')
class AddANewProvider(NavigateStep)
prerequisite = NavigateToSibling('All')
def step(self):
click('Add New Button')
@navigate.register(Provider, 'All')
class ShowAllProviders(NavigateStep)
def am_i_here(self):
return check_if_i_am_already_on_page()
def step(self):
click('All button')
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
navmazing-0.0.1.tar.gz
(4.3 kB
view hashes)