Very handy bash_profile terminal command for connecting to localhosts through tunnel with browser stack

Open up your ~/.bash_profile don’t worry if it doesnt exist already, just make it.

browser_stack(){
	java -jar ~/Downloads/BrowserStackTunnel.jar FEnE97YWyQEqa2MnMIHm $@,80,0;
}

Copy and paste the above line in the file and save.

Open terminal force a reload of your profile with the following and run the command like so:

. ~/.profile && . ~/.bash_profile

Then run:

browser_stack local_domain

dave

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>