slimerjs
slimerjs copied to clipboard
SlimerJS proxy not working on windows but works on mac
versions
- SlimerJS: 0.10.3
- Firefox: 54
- Operating system: Windows Server 8 R2 Standard Service Pack 1
Steps to reproduce the issue
This is what I'm typing on mac ./slimerjs/slimerjs ./ip-logs.js --proxy=205.234.xxx.xx:1025
(working)
This is what I'm typing on windows .\slimerjs\slimerjs .\ip-logs.js --proxy=205.234.xxx.xx:1025
(not working)
Here's the code inside ip-logs.js:
const page = require('webpage').create()
page.open('http://bot.whatismyipaddress.com/', () => {
console.log(page.plainText)
})
Actual results:
Page opens but not using proxy
Expected results:
Page opens using proxy. This works on my mac.
SlimerJS: 0.10.3, Firefox: 55, Windows 7, results: page open but not using proxy SlimerJS: 0.10.3, Firefox: 55, macOS 10.12.6, results: if proxy using auth(with --proxy-auth options), failed to connect, debug message show "the remote server refused the connection". if not, it work.
Hi,
As indicated into the documentation, for windows, try it by removing a dash on the option name: -proxy
instead of --proxy