ClassFramesCollection
Collection of frames (Browser objects)
Definition
Namespace:ArtOfTest.WebAii.Core
Assembly:ArtOfTest.WebAii.dll
Syntax:
public class FramesCollection : Dictionary<string, Browser>, IDictionary<string, Browser>, ICollection<KeyValuePair<string, Browser>>, IDictionary, ICollection, IReadOnlyDictionary<string, Browser>, IReadOnlyCollection<KeyValuePair<string, Browser>>, IEnumerable<KeyValuePair<string, Browser>>, ISerializable, IDeserializationCallback, IEnumerable<Browser>, IEnumerable
Inheritance: objectDictionary<string, Browser>FramesCollection
Implements:
Inherited Members
Constructors
FramesCollection()
Declaration
public FramesCollection()
Properties
this[FrameInfo]
Get the frame based on its FrameInfo.
Declaration
public Browser this[FrameInfo frameInfo] { get; }
Parameters
frameInfo
The frameinfo.
Property Value
The Frame, else null.
Remarks
If more than one frame in the FrameCollection matches the FrameInfo argument, we will return the frame that matches frameInfo.Index.
this[int]
Get the frame at a specific index.
this[string]
Get a frame using its name.
Methods
ById(string)
Gets a frame using its id.
BySrc(string)
Gets a frame using its src
GetEnumerator()
Get the enumerator.
Declaration
public IEnumerator<Browser> GetEnumerator()
Returns
This collection's enumerator
Implements
GetFramesAsStrings()
Get a list of all frames in this collection.
Declaration
public string GetFramesAsStrings()
Returns
A description of all frames contained in this collection as a string.
RefreshAllDomTrees()
Refresh all dom trees in this frames collection.
Declaration
public void RefreshAllDomTrees()
WaitAllUntilReady()
Waits until all frames are ready.
Declaration
public void WaitAllUntilReady()