def f(driver): app = Album(driver) driver.get("http://127.0.0.1:8000" + uri) # driver.get(uri) app.stabilize() if not driver.get_screenshot_as_file(filename): app.error("Failed to create {0}".format(filename))
def main(driver): pth = dirname(__file__) Album(driver, pth, title="A tour of the team project", ref="team.tour", intro=""" A series of screenshots to show :ref:`noi` using the :mod:`lino_book.projects.team` demo project. """).run(english_tour)