View Sourcemodule selenium-webdriver/phantomjsFunctionscreateDriver(opt_capabilities, opt_flow)code ยปdeprecatedCreates a new PhantomJS WebDriver client.Deprecated: Use Driver.Parametersopt_capabilities?Capabilities=The desired capabilities.opt_flow?webdriver.promise.ControlFlow=The control flow to use, or null to use the currently active flow.Returnswebdriver.WebDriverA new WebDriver instance.TypesDriverCreates a new WebDriver client for PhantomJS.