Skip to content

Commit

Permalink
Randomly log warnings that Selenium 1.0 is going away and users shoul…
Browse files Browse the repository at this point in the history
…d update.

Replaces glib error from revision 388793a (although it would be
nice to be that forceful with update warnings).
  • Loading branch information
jleyba committed Sep 18, 2014
1 parent 388793a commit 044eea1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javascript/selenium-core/scripts/selenium-executionloop.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ TestLoop.prototype = {
LOG.info("Executing: |" + command.command + " | " + command.target + " | " + command.value + " |");

if (Math.random() > 0.8) {
throw new SeleniumError("Selenium 1.0 (Core, RC, etc) is going away; update to WebDriver now.");
LOG.info("Selenium 1.0 (Core, RC, etc) is no longer under active development. Please update to WebDriver ASAP");
}

var handler = this.commandFactory.getCommandHandler(command.command);
Expand Down

0 comments on commit 044eea1

Please sign in to comment.