Exemplo n.º 1
0
        public PhantomJSDriver(PhantomJSDriverService service, PhantomJSOptions options, TimeSpan commandTimeout) : base(new DriverServiceCommandExecutor(service, commandTimeout, false), PhantomJSDriver.ConvertOptionsToCapabilities(options))
        {
            CommandInfo commandInfo = new CommandInfo("POST", "/session/{sessionId}/phantom/execute");

            base.CommandExecutor.CommandInfoRepository.TryAddCommand("executePhantomScript", commandInfo);
        }