01-06-2016 08:36 PM
I was wondering if it is possible to do internet automation with SAS.
For example, is it possible to write a SAS program that will open my Chrome browser, go to Wikipedia and search for 'SAS'
01-06-2016 11:16 PM
The below code will open wikipedia with Search string sas.
x 'cd C:\Program Files (x86)\Google\Chrome\Application\';
x 'chrome.exe "wikipedia.org/wiki/sas" ';
Actually speaking, it is internet automation with DOS. I am calling DOS command through SAS datasetep.
01-06-2016 11:30 PM
Hi RahulG, thank you for the quick reply!!
I do realize that this can be done by extending the 'sas' into the url, but is it possible to actually write 'sas' in the search box?
01-07-2016 04:53 AM
I would expect you need to know the API for the specific web page, e.g. passing something like:
in as the URL - note the above doesn't work, its an example. The question I would raise is why, what is it your trying to achieve? I don;t see any benefits of putting this kind of thing in code, your just adding a layer of obfuscation.
01-07-2016 03:42 PM
If it is pyton selenium that you mean, I already looked at it, and was hoping if something similar can be done with SAS. But if it can't then I guess that I will have to us python and selenium.