Add cookies to default browser in build VM

byron's Avatar


01 May, 2015 05:06 PM

I need some help coming up with a hack or solution to a problem (that is not appveyor's problem). My team is using "Steroids" ( to deploy our mobile app. Steroids has a CLI tool that provides a way (the only way) to deploy to their packaging/deployment server. To deploy from the CL, I do this:

> steroids login -- this opens a browser window and makes me login (if not already logged in with cookie)

> steroids deploy -- requires previous login

I checked my browser and I see that, after login, I have three cookies in my browser. These, I guess, are what I need to have in the build VM when it's time to build and deploy in AppVeyor. Since the build is scripted and unattended, and cannot log in each time the build runs, I need a way to "simulate" the login.

My current idea is to try to somehow inject some cookies into the browser so that when steroids logs in, it will see that it is already authenticated. For this, I need a way to add cookies to the default browser in the VM before running my deploy script. I have no clue how to do this. :)

Is there a better idea? Any advice?

  1. Support Staff 1 Posted by Feodor Fitsner on 01 May, 2015 05:19 PM

    Feodor Fitsner's Avatar

    When you login there through the browser is there "Remember me" option to set persistent login cookie?

    - Feodor

  2. 2 Posted by byron on 01 May, 2015 09:34 PM

    byron's Avatar

    Yes, but how would I add that cookie to the build vm as it is trying to build/deploy?

  3. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:56 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac