/** * @since 5.1.0.0 */ @Override public String getRemoteControlServerLocation() { return delegate.getRemoteControlServerLocation(); }
/** * @since 5.1.0.0 */ @Override public String getRemoteControlServerLocation() { return delegate.getRemoteControlServerLocation(); }
public void start() { try { commandProcessor.start(); } catch (Exception e) { final String message = e.getMessage(); if (message != null && message.startsWith("Connection refused")) { throw new RuntimeException("Could not contact Selenium Server; have you started it on '"+commandProcessor.getRemoteControlServerLocation() + "' ?\nRead more at http://seleniumhq.org/projects/remote-control/not-started.html\n" + e.getMessage()); } throw new RuntimeException("Could not start Selenium session: " + e.getMessage(), e); } }