Newer
Older
command_executor=f'http://{host}:{port}/wd/hub', options=options)
attach = driver.get_screenshot_as_png()
allure.attach(attach, name=f"Screenshot {datetime.today()}", attachment_type=allure.attachment_type.PNG)