Open ThiagoHCAlves opened 6 years ago
What is this protocol "\172.16.111.135" ? A SMB share ? HTTP ?
You mark "MAC OS X", but MacOS doesn't support path with backslash (as it is a Unix system)..
Sure I used that example in windows. is SMB Share. when using phantomjs works fine. only when using engine slimerjs seems look in the folder not trying to see in smb share. look the message error path does not exist: C:\wamp\www\localhost\test\172.16.111.135\test\config.js with slimerjs
Hi,
it seems cfgfile is not parameter of CasperJS, so I guess this is a parameter for your script. How do you use it? Which function you call with this parameter?
you correct sorry. inside the script there is fs.read('cfgfile'); that pick up the link from the command line. the ideia is: passing a config file to the script. the file system read the file from the remote server. with phantomjs works fine. when change to engine=slimerjs didn't find . i've tried to put a wrong path and with phantom I receive that message.
\172.16.111.135\test\config.j Unable to open file '\172.16.111.135\test\config.j' C:/wamp/www/localhost/test/phantomjs:/platform/fs.js:79 in open C:/wamp/www/localhost/test/phantomjs:/platform/fs.js:110 in read
with slimerjs only receive this C:\Program Files "SLIMERJSLAUNCHER is set to C:\Program Files (x86)\Mozilla Firefox\firefox.exe" \172.16.111.135\test\config.j path does not exist: C:\wamp\www\localhost\test\172.16.111.135\test\config.j
versions
Steps to reproduce the issue
casperjs test.js --cfgfile="\172.16.111.135"\test\config.js casperjs test.js --cfgfile="\172.16.111.135"\test\config.js --engine=slimerjs
Actual results:
path does not exist: C:\wamp\www\localhost\test\172.16.111.135\test\config.js with slimerjs path works fine with phantomjs
Expected results:
same result phantomjs and slimerjs