示例#1
0
        public ActionProvider(IWebDriver driver)
        {
            Contract.Requires(driver != null);

            _driver = driver;
            _action = new Actions(_driver);
            _wait   = new WaitProvider(_driver);
        }
        public ActionProvider(IWebDriver driver)
        {
            Contract.Requires(driver != null);

            _driver       = driver;
            _action       = new Actions(_driver);
            _wait         = new WaitProvider(_driver);
            _capabilities = ((RemoteWebDriver)_driver).Capabilities;
        }