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

Method RelativeBy

dotnet/src/webdriver/RelativeBy.cs:42–50  ·  view source on GitHub ↗
(object root, List<object>? filters = null)

Source from the content-addressed store, hash-verified

40 }
41
42 private RelativeBy(object root, List<object>? filters = null)
43 {
44 this.wrappedAtom = GetWrappedAtom();
45 this.root = GetSerializableRoot(root);
46 if (filters != null)
47 {
48 this.filters.AddRange(filters);
49 }
50 }
51
52 /// <summary>
53 /// Creates a new <see cref="RelativeBy"/> for finding elements with the specified tag name.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected