protractor-jslog Inject a log-div into a Protractor E2E-Test You will need the following functions: initJSLog() - Injects the log-div into the website's body. JSLog(logstring) - Adds a string to the log.