JavaScript to go to browsers home page, not baseurl


Here is the javaScript to to have the IDE go to the browsers configured home page:

runScript | window.home();

This is valuable if you do not want the actual URL to be exposed in a script. For example, if I wanted to store an encrypted password on some remote website (to further obfuscate the authentication token), I could manually configure my test browsers home page, then call this command in the automation script so as to not easily provide the URL I was scraping the encrypted password from. When coupled with making sure the website with the encrypted passwordis NOT in the same domain, and is also behind a firewall, this should help in protecting the source.