def get_screenshot_as_file(self, filename):
        png = self.get_screenshot_as_png()
        try:
            with open(filename, 'wb') as f:
                f.write(png)
        except IOError:
            return False
        finally:
            del png
        return True
Add a new OEmbedEndpoint to be manage by the consumer.
dataset/ETHPy150Open apiad/sublime-browser-integration/selenium/webdriver/remote/webdriver.py/WebDriver.get_screenshot_as_file--crossover with--dataset/ETHPy150Open abarmat/python-oembed/oembed/__init__.py/OEmbedConsumer.addEndpoint