Skip to content

Use local temp folder to download chromium headless#124

Merged
MaxMelcher merged 1 commit intoMaxMelcher:mainfrom
Zhaph:feature/121
Oct 10, 2022
Merged

Use local temp folder to download chromium headless#124
MaxMelcher merged 1 commit intoMaxMelcher:mainfrom
Zhaph:feature/121

Conversation

@Zhaph
Copy link
Copy Markdown

@Zhaph Zhaph commented Oct 7, 2022

The current behaviour of the BrowserFetcher class tends to leave instances of the headless chromium browser in a .localchromium folder relative to the directory the application is called from.

This PR updates the BrowserFetcher to take a BrowserFetcherOptions that specifies a directory in the user's local temp folder.

I've also updated the Help text on the chromePath option to remove the statement about only used if the Mermaid switch is enabled as this is not true.

Fixes #121

@MaxMelcher MaxMelcher merged commit b943426 into MaxMelcher:main Oct 10, 2022
@MaxMelcher
Copy link
Copy Markdown
Owner

Thanks @Zhaph!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tool leaves .localchromium folders in root of run

3 participants