pytest.allure.attach(name, self.driver.get_screenshot_as_png(), type=AttachmentType.PNG)
pytest 以上
uinttest 写个 装饰器
game over