def make_gif(self): "Create a gif of all the screenshots within the screenshots directory" self.gif_file_name = Gif_Maker.make_gif(self.screenshot_dir, name=self.calling_module) return self.gif_file_name
def teardown(self): "Tears down the driver" self.gif_file_name = Gif_Maker.make_gif(self.screenshot_dir, name=self.calling_module) self.driver.quit() self.reset()