Source code for galaxy.selenium.jupyter_context

from .context import (
    GalaxySeleniumContextImpl,
    init as c_init,
)


[docs]def init(config=None): return c_init(config=config, clazz=JupyterContextImpl)
[docs]class JupyterContextImpl(GalaxySeleniumContextImpl):
[docs] def screenshot(self, label): path = super().screenshot(label) from IPython.display import Image return Image(filename=path)