1 write to _targetSessionId
Aspire.Hosting.Browsers.Tests (1)
src\Aspire.Hosting.Browsers\BrowserPageSession.cs (1)
262_targetSessionId = attachToTargetResult.SessionId
6 references to _targetSessionId
Aspire.Hosting.Browsers.Tests (6)
src\Aspire.Hosting.Browsers\BrowserPageSession.cs (6)
73public string TargetSessionId => _targetSessionId ?? throw new InvalidOperationException("Browser target session id is not available before the target session starts."); 86var targetSessionId = _targetSessionId ?? throw new InvalidOperationException("Browser target session id is not available before the target session starts."); 267await _connection.EnablePageInstrumentationAsync(_targetSessionId, cancellationToken).ConfigureAwait(false); 271await _connection.NavigateAsync(_targetSessionId, _url, cancellationToken).ConfigureAwait(false); 443if (TryGetPageCompletion(protocolEvent, _targetId, _targetSessionId) is { } pageCompletion) 449if (string.Equals(protocolEvent.SessionId, _targetSessionId, StringComparison.Ordinal))