Here we are creating a runner file using the os system method by passing the behave command.
We are using allure formatter command as well along with behave to save the report logs.
Runner.py
import os os.system( "behave -f allure_behave.formatter:AllureFormatter -o /Users/admin/selenium/reports/allureReports")