pytest-allure attach screenshots to the report
import allure from allure.constants import AttachmentType
allure.attach('screenshot', self.driver.get_screenshot_as_png(), type=AttachmentType.PNG)
That's all...
import allure from allure.constants import AttachmentType
allure.attach('screenshot', self.driver.get_screenshot_as_png(), type=AttachmentType.PNG)
Nice post. My company know about anworth services limited 2. If you want to know about anworth services limited 2 then know please contact with my company.
ReplyDeleteThanks.