public async Task RunAsync() { _logger.LogTrace("RunAsync()"); // load page (pre requis for setting cookie) await _seleniumWrapper.MoveToAsync(_instagramOptions.UrlRoot); //Auth from Cookies if (!await TryAuthCookiesAsync()) { // else auth from login/password await AuthLoginAsync(); } }