Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions src/py/kaleido/kaleido.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,10 @@ def __init__(self, *args, **kwargs): # noqa: D417 no args/kwargs in description
super().__init__(*args, **kwargs)
except ChromeNotFoundError:
raise ChromeNotFoundError(
"Versions 1.0.0 and higher of Kaleido do not include chrome by"
"default. Earlier versions, which can be pinned, did but the strategy "
"is no longer tenable. Kaleido's supplies a kaleido_get_chrome CLI "
"command as well as a `get_chrome()` and `get_chrome_sync()` "
"functions in kaleido.",
"Kaleido v1 and later requires Chrome to be installed. "
"To install Chrome, use the CLI command `kaleido_get_chrome`, "
"or from Python, use either `kaleido.get_chrome()` "
"or `kaleido.get_chrome_sync()`.",
) from ChromeNotFoundError

if page and isinstance(page, str) and Path(page).is_file():
Expand Down