from src.testproject.sdk.drivers import webdriver
from src.testproject.decorator.behave_reporter import behave_reporter
""" Executed once per test run: Before any features and scenarios are run.
Initialize the driver and start the session.
context.driver = webdriver.Chrome(projectname="Python BDD", jobname="Behave")
""" Executed after each step in the scenario.
def after_step(context, step):
""" Executed after each scenario in the feature.
Reports the scenario as a test.
def after_scenario(context, scenario):
""" Executed once per test run: after all features and scenarios are run.
Quit the driver and close the session.