Comments (5)
Temporary workaround (OSX): rm -r $TMPDIR"testium"
from testium.
The downloads are validated immediately, but it appears to leave the bad file in the temp directory. We should remove the file if it fails. If we do that, I don't think that we need to store the checksum.
We can certainly add a command that clears the temp directory and then downloads the latest version, like forceUpdate
.
from testium.
There's always Ctrl+C
(I know I pressed that from time to time during npm install
), so I'm not sure removing the bad file will work 100%. But as long as there's a command for forcing a clean re-download, I think we're fine. Maybe we can even check for "Invalid or corrupt jarfile" and suggest that command when the startup fails?
from testium.
Yeah, that sounds good to me. I'll get to it probably next week, unless someone wants to send a PR before that.
from testium.
PR: groupon/selenium-download#9
Tracking this there, now.
from testium.
Related Issues (20)
- Testium looking for an app to be running on port 8000 HOT 3
- Unable to switch nested frames HOT 1
- Add ES6-friendly mocha API HOT 4
- Throwing on uncaughtException in spawnServer will leave orphaned processes around HOT 3
- Document how to use with SauceLabs
- Add injectBrowser configuration support to .testiumrc HOT 3
- Support alternate browser interfaces HOT 3
- How to launch testium on Linux? HOT 2
- Documentation on Element missing? + Mocha link in readme broken HOT 2
- repl isnt working
- testium_launch env variable is not respected in v3.3.0 HOT 2
- `browser.evaluate` with strings and functions is inconsistent HOT 1
- Clear localstorage between test runs HOT 2
- GetPath() returns the previous path, when the redirection leads to 404.
- Add ability to double click on an element HOT 1
- Launch=false not respected
- Do something on timeout, before failing the test HOT 3
- selenium download fails with "TypeError('Path must be a string...)" HOT 3
- clearAndType() doesn't trigger a focus / focusin event HOT 2
- Can't get <title> tag using getElement or browser assertions HOT 2
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 testium.