Comments (6)
I'm not sure what is going on with the 5 clauses but I quick fixed my file by adding some quotes:
Changed three occurences of this:
if not exist %SLIMERJSLAUNCHER% (
Into this:
if not exist "%SLIMERJSLAUNCHER%" (
And now I see the window. After I close it I also the console.log()
output from my javascript.
from slimerjs.
Thanks for your report. We should check if this fix is compatible in other windows version. (I'm not an expert in dos shell :) ))
from slimerjs.
Well, me neither, but I picked the idea for this fix from a few lines further along so I'm confident it's valid :)
https://github.com/laurentj/slimerjs/blob/master/src/slimerjs.bat#L96
Do you know on what Windows version this .bat was originally tested?
FYI; if you need a Windows VM there is this official repo: http://www.modern.ie/en-us/virtualization-tools
from slimerjs.
I tested with Windows 7 64bits, it works without modification and it seems to work with quotes.
Could you provide a patch containing all modifications?
from slimerjs.
Note I'm implementing a node.js wrapper and I am reaching the point where I'm adding options-passing support to it.
Once I have tests setup for those I can verify a bit more on the other .bat options and if they match with the linux and mac script, but this may take a bit longer.
from slimerjs.
Fixed by the pull request #63
from slimerjs.
Related Issues (20)
- Documentation improvement: major difference between the behaviour of evaluateJavaScript in PhantomJS VS SlimerJS
- Is it possible to use with remote running firefox instance?
- when will FF 61 be supported? HOT 1
- segmentation fault errors
- how to access browser default popup?
- SlimerJS not compatible with Firefox 62 HOT 5
- SlimerJS not compatible with Firefox 63 HOT 11
- slimer 1.0.0 leaves a lot of garbage in /tmp HOT 1
- Can't render this site, https://piaofang.maoyan.com/dashboard
- Cannot delete window.callPhantom HOT 1
- Strange bash script behaviour on Heroku
- Script won't work if modules aren't ended with semicolons before async handler HOT 1
- SlimerJS crashes on Windows Server with Firefox 67 HOT 1
- I need each script to connect to a different proxy
- 'expires' attribute from page.cookies is incorrect
- Arch/Manjaro package manager can not download from download.slimerjs.org HOT 1
- Appropriate version of firefox for slimerjs on a raspberry pi? HOT 2
- No more development on Slimerjs HOT 1
- Thumbnail is not generating for video assets
- Crash Annotation GraphicsCriticalError for headless selenium on firefox browser 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 slimerjs.