MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / V155Target

Method V155Target

dotnet/src/webdriver/DevTools/v155/V155Target.cs:37–43  ·  view source on GitHub ↗

Initializes a new instance of the class. The adapter for the Target domain. If is .

(TargetAdapter adapter)

Source from the content-addressed store, hash-verified

35 /// <param name="adapter">The adapter for the Target domain.</param>
36 /// <exception cref="ArgumentNullException">If <paramref name="adapter"/> is <see langword="null"/>.</exception>
37 public V155Target(TargetAdapter adapter)
38 {
39 ArgumentNullException.ThrowIfNull(adapter);
40 this.adapter = adapter;
41 adapter.DetachedFromTarget += OnDetachedFromTarget;
42 adapter.AttachedToTarget += OnAttachedToTarget;
43 }
44
45 /// <summary>
46 /// Asynchronously gets the targets available for this session.

Callers

nothing calls this directly

Calls 1

ThrowIfNullMethod · 0.80

Tested by

no test coverage detected