def take_named_screenshot(self, name):
        method_dir = self._screenshot_prep_dirs()

        image_path = os.path.join(method_dir, str(name) + ".png")
        self.driver.get_screenshot_as_file(image_path)

        if "ci_type" in self.cf and self.cf["ci_type"].lower() == "jenkins":
            sys.stdout.write(os.linesep + image_path % "[[ATTACHMENT|%s]]" + os.linesep)
dataset/ETHPy150Open Element-34/py.saunter/saunter/testcase/webdriver.py/SaunterTestCase.take_named_screenshot/swapped operands of `%`