Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Prepare Chromium" utility #39

Open
sdondley opened this issue Mar 28, 2019 · 1 comment
Open

"Prepare Chromium" utility #39

sdondley opened this issue Mar 28, 2019 · 1 comment

Comments

@sdondley
Copy link
Contributor

sdondley commented Mar 28, 2019

I wrote a little utility for myself to prepare Chromium for use by W::M::C:

https://github.com/sdondley/WWW-Mechanize-Chrome-PrepareChromium

Might be useful to others with same set up as me:

  1. MacOS
  2. I have a copy of Chromium installed exclusively for use by W::M::C.

I haven't written it with the public in mind and it has some custom code specific to me. But if you download it, you can get it to work with minimal hacking. Specifically, the internal _quit function uses some custom code for use by me to run a wrapper script for the osascript function. You will definitely want to change this to something normal like:

system ('osascript -e \'quit app "Chromium"\''); # this is untested

There isn't a lot to this module and can be easily adapted to other OSes and browser configurations.

@sdondley
Copy link
Contributor Author

Oops, forgot to make repo public. It's now visible to public.

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

No branches or pull requests

1 participant