Skip to content

Commit

Permalink
SimonStewart: allow the out of process selenium server used in tests …
Browse files Browse the repository at this point in the history
…to output to syserr if we're debugging

r15872
  • Loading branch information
shs96c committed Feb 13, 2012
1 parent bba8364 commit 1a374a5
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ public void start() {
baseUrl = String.format("http://%s:%d", localAddress, port);

command = new CommandLine("java", "-jar", path, "-port", String.valueOf((port)), "-browserSideLog");
if (Boolean.getBoolean("webdriver.development")) {
command.copyOutputTo(System.err);
}
command.executeAsync();

try {
Expand Down

0 comments on commit 1a374a5

Please sign in to comment.