Comments (2)
@GlenDC, you are welcome to install it globally -- and it works great when installed globally. However, there are a few reasons why our default recommendation is to install locally:
The foremost reason is that by adding it into your local package.json, you are able to lock the version number. This ensures that your local code won't break because another project is using a different version. Equally important this allows you to deploy to production with the assurance that your production version will be the same as your development. Relying on globally installed node packages does not allow this (so far as I know).
The good news is the majority of the package size is from downloading Chrome, and in this area we have optimized SecretAgent so that all your locally installed versions should share the same Chrome download. This means that once you install it in one project, the other nine should be relatively quick and small.
from secret-agent.
That makes total sense. I guess the chrome version does depend also on your version of secret agent, so you might never the less need multiple chrome versions? I wonder if a small percept from this nice explanation of yours could be put in the linked documentation page, as it does help. It is however not that important that I you would want these 3 paragraphs there, I imagine. Either way, for me that does explain it nicely. Thank you for this :)
from secret-agent.
Related Issues (20)
- Help us to help you: please consider improving community standards HOT 6
- aws lambda support? HOT 5
- feature-request: provide interface for MITM Proxy HOT 5
- MITM Socket Server is spawned even if `SA_DISABLE_MITM` is used
- example for waiting for a form submit HOT 8
- failed to install `secret-agent` on Mac
- how to set proxy url and get raw html content HOT 6
- Certificate verification failed HOT 1
- EDIT: waitForFileChooser does not work when using userProfile with 2+ sessionStorage domains HOT 6
- feature request: support css string query in waitForElement HOT 4
- TypeError: Cannot read properties of null (reading 'type') HOT 3
- Fingerprint doesn't change HOT 4
- Chrome version updates? HOT 4
- no webgl support in headed mode, Windows VPS. HOT 4
- UnhandledErrorOrRejection
- Problem with cookieStorage and Twitter HOT 1
- SecretAgent is Moving to @ulixee/hero!
- Download path directory HOT 1
- Download path directory change HOT 1
- Clicking on a canvas inside an iframe HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from secret-agent.