def dashr(request, dashr_server, tmpdir): with DashRComposite( dashr_server, browser=request.config.getoption("webdriver"), headless=request.config.getoption("headless"), options=request.config.hook.pytest_setup_options(), download_path=tmpdir.mkdir("download").strpath, ) as dc: yield dc
def dashr(request, dashr_server, tmpdir): with DashRComposite( dashr_server, browser=request.config.getoption("webdriver"), remote=request.config.getoption("remote"), remote_url=request.config.getoption("remote_url"), headless=request.config.getoption("headless"), options=request.config.hook.pytest_setup_options(), download_path=tmpdir.mkdir("download").strpath, percy_assets_root=request.config.getoption("percy_assets"), percy_finalize=request.config.getoption("nopercyfinalize"), ) as dc: yield dc