Please note that Sahi's development and support teams do not actively monitor this. This is more a community forum. If you are a Sahi Pro user looking for commercial support, please email support @ sahipro.com with your query.

Navigate to a webpage using the login credentials from command line

vijaikmvijaikm Members
edited June 2014 in Sahi - Open Source
Can sahi script take the command line arguments, I want to do run something like mysah.sah http://gmail.com "chrome" "tim" "pass"

What should be there in mysah.sah to read the command line arguments

is there something similar to the below in SAHI?

public static void Main(string[] args) {
for(int i = 0; i < args.Length; i++)
{
Console.WriteLine("Arg[{0}] = [{1}]", i, args);
}
}


Best Answer

Sign In or Register to comment.