Open parky128 opened 7 years ago
Hi
The browserstack binary is downloaded just once.
This seems to be issue around binaryPath
on Windows. We will check this soon and get back.
Thanks
@AnkurGel Any news on this being fixed?
I was having this issue too and it turns out the binary would attempt to download, but my proxy blocked the request causing the download to fail. However, even though the download failed, there was a zero byte file created (at '%USERPROFILE%.browserstack\BrowserStackLocal.exe') on disk that prevented the download from being attempted again once I specified the correct proxy settings.
Even after deleting the .browserstack
directory it would just re-download another 0-byte BrowserStackLocal.exe
file. I don't have a proxy configured, nor do I have any kind of invasive corporate firewall that could be killing my connection, so I'm not sure why the download failed every time. Manually replacing that 0-byte file with https://s3.amazonaws.com/browserStack/browserstack-local/BrowserStackLocal.exe worked.
If you arrived here and you are using linux alpine it just not supported according to this issue.
If you arrived here and you are using linux alpine it just not supported according to this issue.
I'm currently having this issue as well... and am using alpine. So this is good to know. Any work around people have?
To whoever has this problem on Windows
Step 1: Delete the folder '%USERPROFILE%.browserstack\ Step 2: Run the command again and when your antivirus pops up, add the BrowserStackLocal.exe to exceptions
--alternate to Step 2-- Deactivate your antivirus and run the command again.
In my case it works after updating the version of node/npm and deps to latest, and delete the %USERPROFILE%/.browserstack
folder
In my case it is working after deleting the %USERPROFILE%/.browserstack folder
@ravindra237 where is this folder %USERPROFILE%/.browserstack, in my case I'm not running on browser stack local but on live
@haideralii - For me, I was unable to run browser stack locally. So post deleting the folder, I was able to run successfully in local. But your case is running in browser-stack itself right? If yes, then you should not face this issue. Could you please elaborate more your case.
I am having issues trying to get browserstack-local to work having followed the documentation.
In my beforeLaunch I have:
When attempting to run my protractor script, I get the following error:
I don't think I have missed out any steps.
Looking at the stacktrace and the files it references, I can see it seems to be downloading a browserstack binary, does this happen at the start of each test run?
Thanks