Esempio n. 1
0
        /// <summary>
        /// clicks html document object in a way depending on clickerInput
        /// </summary>
        /// <param name="clickerInput">bool if clicker enabled</param>
        /// <param name="inputCorrection">bool if correction enabled</param>
        public async Task ClickNewAudioChallengeAsync(bool clickerInput, bool inputCorrection)
        {
            _log.Called(clickerInput, inputCorrection);

            try
            {
                if (!clickerInput)
                {
                    //TODO: find the way to do it with JS
                }
                else
                {
                    await _inputService.ClickNewAudioChallengeInputAsync(inputCorrection);
                }
            }
            catch (Exception e)
            {
                _log.Error(e.Message);
            }
        }