--- /dev/null
+var q = require('q');
+
+/**
+ * A framework which does not actually run any tests. It allows users to drop
+ * into a repl loop to experiment with protractor commands.
+ *
+ * @param {Runner} runner The current Protractor Runner.
+ * @return {q.Promise} Promise resolved with the test results
+ */
+exports.run = function(runner) {
+ /* globals browser */
+ return q.promise(function(resolve) {
+ if (runner.getConfig().baseUrl) {
+ browser.get(runner.getConfig().baseUrl);
+ }
+ browser.enterRepl();
+ browser.executeScript_('', 'empty debugger hook').then(function() {
+ resolve({
+ failedCount: 0
+ });
+ });
+ });
+};