Esempio n. 1
0
        public async Task Boost(string trackPath, IList <WebAction> actions)
        {
            if (this._webDriver != null)
            {
                SeleniumUtils.NavigateTo(this._webDriver, trackPath);
            }

            Task[] boosts = new Task[actions.Count];

            for (int i = 0; i < actions.Count; i++)
            {
                WebAction action = actions[i];
                boosts[i] = this.Boost(action, trackPath);
            }

            await Task.WhenAll(boosts);
        }