You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -329,6 +334,8 @@ public DevToolsSession GetDevToolsSession(DevToolsOptions options)
329
334
/// <param name="devToolsProtocolVersion">The version of the Chromium Developer Tools protocol to use. Defaults to autodetect the protocol version.</param>
330
335
/// <returns>The active session to use to communicate with the Chromium Developer Tools debugging protocol.</returns>
/// Represents a WebSocket connection to a running DevTools instance that can be used to send
35
35
/// commands and recieve events.
36
36
///</summary>
37
+
[RequiresUnreferencedCode("CDP is not compatible with trimming or AOT.")]
38
+
[RequiresDynamicCode("CDP is not compatible with trimming or AOT.")]
37
39
publicclassDevToolsSession:IDevToolsSession
38
40
{
39
41
/// <summary>
@@ -149,8 +151,6 @@ public T GetVersionSpecificDomains<T>() where T : DevToolsSessionDomains
149
151
/// <param name="millisecondsTimeout">The execution timeout of the command in milliseconds.</param>
150
152
/// <param name="throwExceptionIfResponseNotReceived"><see langword="true"/> to throw an exception if a response is not received; otherwise, <see langword="false"/>.</param>
151
153
/// <returns>The command response object implementing the <see cref="ICommandResponse{T}"/> interface.</returns>
152
-
[RequiresUnreferencedCode("SendCommand is not compatible with trimming or AOT. Use the overload that takes JsonNode parameters instead")]
153
-
[RequiresDynamicCode("SendCommand is not compatible with trimming or AOT. Use the overload that takes JsonNode parameters instead")]
@@ -184,8 +184,6 @@ public T GetVersionSpecificDomains<T>() where T : DevToolsSessionDomains
184
184
/// <param name="millisecondsTimeout">The execution timeout of the command in milliseconds.</param>
185
185
/// <param name="throwExceptionIfResponseNotReceived"><see langword="true"/> to throw an exception if a response is not received; otherwise, <see langword="false"/>.</param>
186
186
/// <returns>The command response object implementing the <see cref="ICommandResponse{T}"/> interface.</returns>
187
-
[RequiresUnreferencedCode("SendCommand is not compatible with trimming or AOT. Use the overload that takes JsonNode parameters instead")]
188
-
[RequiresDynamicCode("SendCommand is not compatible with trimming or AOT. Use the overload that takes JsonNode parameters instead")]
@@ -219,8 +217,6 @@ public T GetVersionSpecificDomains<T>() where T : DevToolsSessionDomains
219
217
/// <param name="millisecondsTimeout">The execution timeout of the command in milliseconds.</param>
220
218
/// <param name="throwExceptionIfResponseNotReceived"><see langword="true"/> to throw an exception if a response is not received; otherwise, <see langword="false"/>.</param>
221
219
/// <returns>The command response object implementing the <see cref="ICommandResponse{T}"/> interface.</returns>
222
-
[RequiresUnreferencedCode("SendCommand is not compatible with trimming or AOT. Use the overload that takes JsonNode parameters instead")]
223
-
[RequiresDynamicCode("SendCommand is not compatible with trimming or AOT. Use the overload that takes JsonNode parameters instead")]
Copy file name to clipboardExpand all lines: dotnet/src/webdriver/DevTools/IDevToolsSession.cs
+6-4Lines changed: 6 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -60,8 +60,8 @@ public interface IDevToolsSession : IDisposable
60
60
/// <param name="millisecondsTimeout">The execution timeout of the command in milliseconds.</param>
61
61
/// <param name="throwExceptionIfResponseNotReceived"><see langword="true"/> to throw an exception if a response is not received; otherwise, <see langword="false"/>.</param>
62
62
/// <returns>The command response object implementing the <see cref="ICommandResponse{T}"/> interface.</returns>
63
-
[RequiresUnreferencedCode("SendCommand is not compatible with trimming or AOT. Use the overload that takes JsonNode parameters instead")]
64
-
[RequiresDynamicCode("SendCommand is not compatible with trimming or AOT. Use the overload that takes JsonNode parameters instead")]
63
+
[RequiresUnreferencedCode("CDP is not compatible with trimming or AOT.")]
64
+
[RequiresDynamicCode("CDP is not compatible with trimming or AOT.")]
/// <param name="millisecondsTimeout">The execution timeout of the command in milliseconds.</param>
76
76
/// <param name="throwExceptionIfResponseNotReceived"><see langword="true"/> to throw an exception if a response is not received; otherwise, <see langword="false"/>.</param>
77
77
/// <returns>The command response object implementing the <see cref="ICommandResponse{T}"/> interface.</returns>
78
-
[RequiresUnreferencedCode("SendCommand is not compatible with trimming or AOT. Use the overload that takes JsonNode parameters instead")]
79
-
[RequiresDynamicCode("SendCommand is not compatible with trimming or AOT. Use the overload that takes JsonNode parameters instead")]
78
+
[RequiresUnreferencedCode("CDP is not compatible with trimming or AOT.")]
79
+
[RequiresDynamicCode("CDP is not compatible with trimming or AOT.")]
/// <param name="millisecondsTimeout">The execution timeout of the command in milliseconds.</param>
91
91
/// <param name="throwExceptionIfResponseNotReceived"><see langword="true"/> to throw an exception if a response is not received; otherwise, <see langword="false"/>.</param>
92
92
/// <returns>The command response object implementing the <see cref="ICommandResponse{T}"/> interface.</returns>
93
+
[RequiresUnreferencedCode("CDP is not compatible with trimming or AOT.")]
94
+
[RequiresDynamicCode("CDP is not compatible with trimming or AOT.")]
0 commit comments