Aloe: Selenium Webdriver extensions

aloe_webdriver provides utilities to help write Aloe BDD tests that run in the browser using Selenium webdriver.


pip install aloe_webdriver

Getting Started

Create a file in your steps/ directory, i.e. steps/ and import the Aloe-Webdriver steps.

You are also responsible for building and maintaining the lifecycle of your selenium.webdriver referenced world.browser.

from contextlib import contextmanager

import aloe_webdriver
from aloe import around, world
from selenium import webdriver

def with_browser():
    world.browser = webdriver.Firefox()
    delattr(world, 'browser')


Aloe-Webdriver originally started life as the library lettuce_webdriver. This is a fork of that library for Aloe.

Indices and tables