Releases: headissue/Sahi
PORT Support
Added:
- Environment Variable for the
PORT
that the sahi proxy should use. If not availabe, falls back to theproxy.port
java system property or theproxy.port
defined in theuserdata.properties
file (or 9999) - Support for
$port
in thebrowser_types.xml
- Set some log levels for debugging messages from info to debug/trace
SSLv3 Issues
Added phantomjs with smaller window size to test responsive pages
Don't use SSL
SSL Cert Bugfix
Cert expiry was only a few weeks, this should be a year now.
Some cleanup.
Nashorn
Sahi is now running with the Nashorn engine, which requires Java 8. This should allow EMCAScript 5.1. features to be used in test scripts.
Added Log4j, the configuration is read every minute from the log4j.properties which allows changes at runtime.
Proxy now deletes the content-security-policy header which interfered with testing facebook pages. Domainfix for Facebook added.
We removed some references and files regarding windows, ssl and rhino.
Console Log
Sahi now allows a more verbose console output. See the "-consoleLog" parameter in the testrunner.sh
minor changes
- added phantomjs browser_types.xml
- testrunner.jar included in the release zip
- testrunner.sh added, usage "sh testrunner.sh $folderOrScriptOrSuitePath"
HTML5 addons
HTML5 #1
Sahi now supports additional Html 5 Elements. Added APIs for block elements:
- _nav
- _aside
- _header
- _footer
- _section
- _article
- _address
- _figure
Added inputs:
- _datebox - input type date
- _rangebox - input type range
Dev Notes:
A Sahi Api integration testsuite can now be run as unittest, but it requires "certutil" to run.
Automatic Certificate Creation
New in this version
Less interaction needed to handle https connections #5
On startup a ca.crt will be created in your /userdata/certs directory. You have to import this certificate into your browser. This is pretty simple on Firefox. Just click on the "Download Root CA" link on the startpage and check some boxes. On other browsers it may be more difficult. Search google for how to import the certificate.
When running into problems, delete everything in your /userdata/certs directory and the browser profiles under /userdata/browser.