Skip to content

Commit

Permalink
Turns out this constructor is used everywhere
Browse files Browse the repository at this point in the history
*sigh* I'd dearly love to clean up the constructors on
`RemoteWebDriver` so that we don't need to worry about
carrying cruft behind us as we try and develop a nicer
way of handling the W3C New Session parameters. Sadly,
this constructor is widely used and widely documented.
We'll have to keep it.
  • Loading branch information
shs96c committed Apr 12, 2017
1 parent c48ac89 commit 2b5ea38
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,6 @@ public RemoteWebDriver(
requiredCapabilities);
}

/**
* @deprecated Use {@link RemoteWebDriver(CommandExecutor, Capabilities)}, creating a new
* {@link HttpCommandExecutor}.
*/
public RemoteWebDriver(URL remoteAddress, Capabilities desiredCapabilities) {
this(new HttpCommandExecutor(remoteAddress), desiredCapabilities);
}
Expand Down

0 comments on commit 2b5ea38

Please sign in to comment.