How to integrate your Python Behave test suites with LambdaTest?
Hi Tim!
In order to integrate your Python-Behave test suites with LambdaTest, please refer to the below code snippet.
username = os.environ["LT_USERNAME"]
authkey = os.environ["LT_ACCESS_KEY"]
def before_feature(context, feature):
desired_cap = setup_desired_cap(CONFIG[INDEX])
context.browser = webdriver.Remote(
desired_capabilities=desired_cap,
command_executor="https://%s:%s@hub.lambdatest.com:443/wd/hub" % (username, authkey))