Skip to content

Commit 044eea1

Browse files
committed
Randomly log warnings that Selenium 1.0 is going away and users should update.
Replaces glib error from revision 388793a (although it would be nice to be that forceful with update warnings).
1 parent 388793a commit 044eea1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/selenium-core/scripts/selenium-executionloop.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ TestLoop.prototype = {
102102
LOG.info("Executing: |" + command.command + " | " + command.target + " | " + command.value + " |");
103103

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

108108
var handler = this.commandFactory.getCommandHandler(command.command);

0 commit comments

Comments
 (0)