GPAL - Generally Positive Automation Library v1.0
GPAL The Fluent Automation LIbrary
Loading...
Searching...
No Matches
GenerallyPositive.Browser.WindowSession Class Reference

Public Member Functions

 WindowSession (string browserContextId, ConcurrentQueue< KeyValuePair< string, string > > tabQueue, int activeTabIndex=0)

Properties

string BrowserContextId [get, set]
 The CDP browser context id (window) this session belongs to.
ConcurrentQueue< KeyValuePair< string, string > > TabQueue [get, set]
 Queue of (sessionId, targetId) pairs for tabs open within this window session.
int ActiveTabIndex [get, set]
 Index of the currently active tab within TabQueue.

Detailed Description

Definition at line 37 of file PuppeteerCommunicator.cs.

Constructor & Destructor Documentation

◆ WindowSession()

GenerallyPositive.Browser.WindowSession.WindowSession ( string browserContextId,
ConcurrentQueue< KeyValuePair< string, string > > tabQueue,
int activeTabIndex = 0 )

Definition at line 52 of file PuppeteerCommunicator.cs.

Property Documentation

◆ ActiveTabIndex

int GenerallyPositive.Browser.WindowSession.ActiveTabIndex
getset

Index of the currently active tab within TabQueue.

Definition at line 50 of file PuppeteerCommunicator.cs.

◆ BrowserContextId

string GenerallyPositive.Browser.WindowSession.BrowserContextId
getset

The CDP browser context id (window) this session belongs to.

Definition at line 42 of file PuppeteerCommunicator.cs.

◆ TabQueue

ConcurrentQueue<KeyValuePair<string, string> > GenerallyPositive.Browser.WindowSession.TabQueue
getset

Queue of (sessionId, targetId) pairs for tabs open within this window session.

Definition at line 46 of file PuppeteerCommunicator.cs.


The documentation for this class was generated from the following file: