/** * Creates a new PhantomJSCommandExecutor. * The PhantomJSCommandExecutor will communicate with the PhantomJS/GhostDriver through the given {@code service}. * * @param service The PhantomJSDriverService to send commands to. */ PhantomJSCommandExecutor(PhantomJSDriverService service) { super(PhantomJSDriver.getCustomCommands(), service.getUrl()); this.service = service; }
/** * Creates a new MultiSessionCommandExecutor. * The PhantomJSCommandExecutor will communicate with the PhantomJS/GhostDriver through the given {@code service}. * * @param service The PhantomJSDriverService to send commands to. */ public MultiSessionCommandExecutor(PhantomJSDriverService service) { super(PhantomJSDriver.getCustomCommands(), service.getUrl()); } }
/** * Creates a new MultiSessionCommandExecutor. * The PhantomJSCommandExecutor will communicate with the PhantomJS/GhostDriver through the given {@code service}. * * @param service The PhantomJSDriverService to send commands to. */ public MultiSessionCommandExecutor(PhantomJSDriverService service) { super(PhantomJSDriver.getCustomCommands(), service.getUrl()); } }
/** * Creates a new PhantomJSCommandExecutor. * The PhantomJSCommandExecutor will communicate with the PhantomJS/GhostDriver through the given {@code service}. * * @param service The PhantomJSDriverService to send commands to. */ PhantomJSCommandExecutor(PhantomJSDriverService service) { super(PhantomJSDriver.getCustomCommands(), service.getUrl()); this.service = service; }