GPAL - Generally Positive Automation Library v1.0
GPAL The Fluent Automation LIbrary
Loading...
Searching...
No Matches
GenerallyPositive.Browser.IMagicHelper Interface Reference
Inheritance diagram for GenerallyPositive.Browser.IMagicHelper:
GenerallyPositive.Browser.MagicHelper

Public Member Functions

void Back ()
string CaptureVisibleTab ()
string CheckNetworkIdle (int? maxConnections=null, int? timeoutMs=null, int? pruneMs=null)
TabTuple CloseTab (dynamic URLorTabId=null)
bool DeleteStorage (WebsiteStorageType storageType, bool deleteAcrossOrigins=false, string domain=null, string path=null, string key=null, string storeName=null)
void Forward ()
void FullScreen ()
string Get (GPALUrl URL)
string GetContentAndCss (string elementId)
Dictionary< string, object > GetCssAttributes (string elementId)
Dictionary< string, object > GetDomAttributes (string elementId)
Dictionary< string, object > GetDomProperties (string elementId)
string GetCurrentUrl ()
string GetReadyStatus (string sessionToken)
GPALElement GetShadowRoot (string Css)
string GetStorage (WebsiteStorageType storageType, string domain=null, string path=null, string key=null, string storeName=null)
TabTuple GoTo (GPALUrl URL)
TabTuple GotoTab (dynamic URLorTabId)
System.Drawing.Rectangle GetWindowRectangle ()
void SwitchToElement (string elementId)
void InFrame (string elementId)
void Minimize ()
void Maximize ()
void MoveTo (string elementiId)
void Normal ()
TabTuple NewTab (GPALUrl URL=null)
TabTuple NextTab ()
int TabCount ()
void OverrideReferrer (string referrer)
void SetUserAgent (string userAgent)
void PageDown ()
void PageEnd ()
void PageTop ()
void PageUp ()
void PressModifierKey (ModifierKeys modifierKeys)
TabTuple PreviousTab ()
void Refresh ()
void ReleaseModifierKey (ModifierKeys modifierKeys)
void Restore ()
void ScrollWindowByHorizontal (int pixels)
void ScrollWindowByVertical (int pixels)
void SetRange (string elementId, int rangeValue)
bool SetStorage (WebsiteStorageType storageType, string data, string domain=null, string path=null, string key=null, string storeName=null)
void StealthOverrideReferrer ()
void WithDownloadFile (string downloadPath)
void Focus (string elementId)
void FireChangeEvent (string elementId)
void ScrollIntoView (string elementId)
void ScrollElement (string elementId, int hPixels, int vPixels)
string GetElementAttributeHash (string elementId)
string GetPageSource ()
GPALElement GetParentNode (string elementId)
string GetAttribute (string elementId, string attribute)
void SetAttribute (string elementId, string attribute, string value)
void SetValueFromElement (string srcSelector, string destElementId)
void LeftClick (string elementId)
void LeftDoubleClick (string elementId)
void MiddleClick (string elementId)
void RightClick (string elementId)
void SelectClick (string elementId, dynamic indexOrValue)
bool IsVisibleInViewport (string elementId)
bool IsEndOfPage ()
void Hover (string elementId)
void DragAndDrop (string elementId, int deltaX, int deltaY, int offsetX=0, int offsetY=0)
int WindowInnerHeight ()
int WindowInnerWidth ()
int WindowOuterHeight ()
int WindowOuterWidth ()
string Fetch (string url, string method=null, string body=null, string contentType=null, string[] headers=null, bool asBytes=false)
int WindowPageOffsetX ()
int WindowPageOffsetY ()
System.Drawing.Rectangle GetBoundingClientRect (string elementId)
void HideElement (string elementId)
void InjectScript (string script)
void ClearInjectedScripts ()
bool IsClickAble (string elementId)
void ClearReferrer ()
GPALElement Evaluate (string xpath)
List< GPALElementEvaluateAll (string xpath)
GPALElement EvaluatePersistent (string xpath)
List< GPALElementEvaluateAllPersistent (string xpath)
string GetLanguages ()
string GetUserAgent ()
List< GPALElementGetOptions (string elementId)
void FillInAppend (string elementId, string text)
void FillInInsert (string elementId, string text)
void FillInOverwrite (string elementId, string text)
void LeftClickAndDownload (string elementId, string filenameAndPath)
void LeftClickAndUpload (string elementId, string filenameAndPath)
void LeftClickAndUpload (string elementId, GPALFile filenamesAndPaths)
GPALElement QueryPersistentSelector (string css)
List< GPALElementQueryPersistentSelectors (string css)
GPALElement QuerySelector (string css)
List< GPALElementQuerySelectors (string css)
void ScrollWindow (int hPixels, int vPixels)
void SendKey (byte vkcode)
void SendString (string text, int delayMs=0)
void SubmitForm (string elementId)
void SwitchToDefaultContent ()
void SwitchToShadowRoot (string elementId)
string GetBrowserSettings ()
string GetGpalSettings ()
string GetSettings ()
string GetWorkflow ()
bool TopBrowser (Process process)
WindowTuple OpenWindow (GPALUrl url=null)
WindowTuple GoToWindow (dynamic urlOrId)
WindowTuple CloseWindow (dynamic urlOrId)
WindowTuple NextWindow ()
WindowTuple PreviousWindow ()
WindowTuple GetCurrentWindow ()
int WindowScreenLeft ()
int WindowScreenTop ()

Detailed Description

Definition at line 993 of file Interfaces.cs.

Member Function Documentation

◆ Back()

void GenerallyPositive.Browser.IMagicHelper.Back ( )

◆ CheckNetworkIdle()

string GenerallyPositive.Browser.IMagicHelper.CheckNetworkIdle ( int? maxConnections = null,
int? timeoutMs = null,
int? pruneMs = null )

◆ ClearInjectedScripts()

void GenerallyPositive.Browser.IMagicHelper.ClearInjectedScripts ( )

◆ ClearReferrer()

void GenerallyPositive.Browser.IMagicHelper.ClearReferrer ( )

◆ CloseTab()

TabTuple GenerallyPositive.Browser.IMagicHelper.CloseTab ( dynamic URLorTabId = null)

◆ DeleteStorage()

bool GenerallyPositive.Browser.IMagicHelper.DeleteStorage ( WebsiteStorageType storageType,
bool deleteAcrossOrigins = false,
string domain = null,
string path = null,
string key = null,
string storeName = null )

◆ DragAndDrop()

void GenerallyPositive.Browser.IMagicHelper.DragAndDrop ( string elementId,
int deltaX,
int deltaY,
int offsetX = 0,
int offsetY = 0 )

◆ Evaluate()

GPALElement GenerallyPositive.Browser.IMagicHelper.Evaluate ( string xpath)

◆ EvaluateAll()

List< GPALElement > GenerallyPositive.Browser.IMagicHelper.EvaluateAll ( string xpath)

◆ EvaluateAllPersistent()

List< GPALElement > GenerallyPositive.Browser.IMagicHelper.EvaluateAllPersistent ( string xpath)

◆ EvaluatePersistent()

GPALElement GenerallyPositive.Browser.IMagicHelper.EvaluatePersistent ( string xpath)

◆ Fetch()

string GenerallyPositive.Browser.IMagicHelper.Fetch ( string url,
string method = null,
string body = null,
string contentType = null,
string[] headers = null,
bool asBytes = false )

◆ FillInAppend()

void GenerallyPositive.Browser.IMagicHelper.FillInAppend ( string elementId,
string text )

◆ FillInInsert()

void GenerallyPositive.Browser.IMagicHelper.FillInInsert ( string elementId,
string text )

◆ FillInOverwrite()

void GenerallyPositive.Browser.IMagicHelper.FillInOverwrite ( string elementId,
string text )

◆ FireChangeEvent()

void GenerallyPositive.Browser.IMagicHelper.FireChangeEvent ( string elementId)

◆ Focus()

void GenerallyPositive.Browser.IMagicHelper.Focus ( string elementId)

◆ Forward()

void GenerallyPositive.Browser.IMagicHelper.Forward ( )

◆ FullScreen()

void GenerallyPositive.Browser.IMagicHelper.FullScreen ( )

◆ Get()

string GenerallyPositive.Browser.IMagicHelper.Get ( GPALUrl URL)

◆ GetAttribute()

string GenerallyPositive.Browser.IMagicHelper.GetAttribute ( string elementId,
string attribute )

◆ GetBrowserSettings()

string GenerallyPositive.Browser.IMagicHelper.GetBrowserSettings ( )

◆ GetContentAndCss()

string GenerallyPositive.Browser.IMagicHelper.GetContentAndCss ( string elementId)

◆ GetCurrentUrl()

string GenerallyPositive.Browser.IMagicHelper.GetCurrentUrl ( )

◆ GetElementAttributeHash()

string GenerallyPositive.Browser.IMagicHelper.GetElementAttributeHash ( string elementId)

◆ GetGpalSettings()

string GenerallyPositive.Browser.IMagicHelper.GetGpalSettings ( )

◆ GetLanguages()

string GenerallyPositive.Browser.IMagicHelper.GetLanguages ( )

◆ GetOptions()

List< GPALElement > GenerallyPositive.Browser.IMagicHelper.GetOptions ( string elementId)

◆ GetPageSource()

string GenerallyPositive.Browser.IMagicHelper.GetPageSource ( )

◆ GetParentNode()

GPALElement GenerallyPositive.Browser.IMagicHelper.GetParentNode ( string elementId)

◆ GetReadyStatus()

string GenerallyPositive.Browser.IMagicHelper.GetReadyStatus ( string sessionToken)

◆ GetSettings()

string GenerallyPositive.Browser.IMagicHelper.GetSettings ( )

◆ GetShadowRoot()

GPALElement GenerallyPositive.Browser.IMagicHelper.GetShadowRoot ( string Css)

◆ GetStorage()

string GenerallyPositive.Browser.IMagicHelper.GetStorage ( WebsiteStorageType storageType,
string domain = null,
string path = null,
string key = null,
string storeName = null )

◆ GetUserAgent()

string GenerallyPositive.Browser.IMagicHelper.GetUserAgent ( )

◆ GetWindowRectangle()

System.Drawing.Rectangle GenerallyPositive.Browser.IMagicHelper.GetWindowRectangle ( )

◆ GetWorkflow()

string GenerallyPositive.Browser.IMagicHelper.GetWorkflow ( )

◆ GoTo()

TabTuple GenerallyPositive.Browser.IMagicHelper.GoTo ( GPALUrl URL)

◆ GotoTab()

TabTuple GenerallyPositive.Browser.IMagicHelper.GotoTab ( dynamic URLorTabId)

◆ HideElement()

void GenerallyPositive.Browser.IMagicHelper.HideElement ( string elementId)

◆ Hover()

void GenerallyPositive.Browser.IMagicHelper.Hover ( string elementId)

◆ InFrame()

void GenerallyPositive.Browser.IMagicHelper.InFrame ( string elementId)

◆ InjectScript()

void GenerallyPositive.Browser.IMagicHelper.InjectScript ( string script)

◆ IsClickAble()

bool GenerallyPositive.Browser.IMagicHelper.IsClickAble ( string elementId)

◆ IsEndOfPage()

bool GenerallyPositive.Browser.IMagicHelper.IsEndOfPage ( )

◆ IsVisibleInViewport()

bool GenerallyPositive.Browser.IMagicHelper.IsVisibleInViewport ( string elementId)

◆ LeftClick()

void GenerallyPositive.Browser.IMagicHelper.LeftClick ( string elementId)

◆ LeftClickAndDownload()

void GenerallyPositive.Browser.IMagicHelper.LeftClickAndDownload ( string elementId,
string filenameAndPath )

◆ LeftClickAndUpload() [1/2]

void GenerallyPositive.Browser.IMagicHelper.LeftClickAndUpload ( string elementId,
GPALFile filenamesAndPaths )

◆ LeftClickAndUpload() [2/2]

void GenerallyPositive.Browser.IMagicHelper.LeftClickAndUpload ( string elementId,
string filenameAndPath )

◆ LeftDoubleClick()

void GenerallyPositive.Browser.IMagicHelper.LeftDoubleClick ( string elementId)

◆ Maximize()

void GenerallyPositive.Browser.IMagicHelper.Maximize ( )

◆ MiddleClick()

void GenerallyPositive.Browser.IMagicHelper.MiddleClick ( string elementId)

◆ Minimize()

void GenerallyPositive.Browser.IMagicHelper.Minimize ( )

◆ MoveTo()

void GenerallyPositive.Browser.IMagicHelper.MoveTo ( string elementiId)

◆ NewTab()

TabTuple GenerallyPositive.Browser.IMagicHelper.NewTab ( GPALUrl URL = null)

◆ NextTab()

TabTuple GenerallyPositive.Browser.IMagicHelper.NextTab ( )

◆ NextWindow()

WindowTuple GenerallyPositive.Browser.IMagicHelper.NextWindow ( )

◆ Normal()

void GenerallyPositive.Browser.IMagicHelper.Normal ( )

◆ OverrideReferrer()

void GenerallyPositive.Browser.IMagicHelper.OverrideReferrer ( string referrer)

◆ PageDown()

void GenerallyPositive.Browser.IMagicHelper.PageDown ( )

◆ PageEnd()

void GenerallyPositive.Browser.IMagicHelper.PageEnd ( )

◆ PageTop()

void GenerallyPositive.Browser.IMagicHelper.PageTop ( )

◆ PageUp()

void GenerallyPositive.Browser.IMagicHelper.PageUp ( )

◆ PressModifierKey()

void GenerallyPositive.Browser.IMagicHelper.PressModifierKey ( ModifierKeys modifierKeys)

◆ PreviousTab()

TabTuple GenerallyPositive.Browser.IMagicHelper.PreviousTab ( )

◆ PreviousWindow()

WindowTuple GenerallyPositive.Browser.IMagicHelper.PreviousWindow ( )

◆ QueryPersistentSelector()

GPALElement GenerallyPositive.Browser.IMagicHelper.QueryPersistentSelector ( string css)

◆ QueryPersistentSelectors()

List< GPALElement > GenerallyPositive.Browser.IMagicHelper.QueryPersistentSelectors ( string css)

◆ QuerySelector()

GPALElement GenerallyPositive.Browser.IMagicHelper.QuerySelector ( string css)

◆ QuerySelectors()

List< GPALElement > GenerallyPositive.Browser.IMagicHelper.QuerySelectors ( string css)

◆ Refresh()

void GenerallyPositive.Browser.IMagicHelper.Refresh ( )

◆ ReleaseModifierKey()

void GenerallyPositive.Browser.IMagicHelper.ReleaseModifierKey ( ModifierKeys modifierKeys)

◆ Restore()

void GenerallyPositive.Browser.IMagicHelper.Restore ( )

◆ RightClick()

void GenerallyPositive.Browser.IMagicHelper.RightClick ( string elementId)

◆ ScrollElement()

void GenerallyPositive.Browser.IMagicHelper.ScrollElement ( string elementId,
int hPixels,
int vPixels )

◆ ScrollIntoView()

void GenerallyPositive.Browser.IMagicHelper.ScrollIntoView ( string elementId)

◆ ScrollWindow()

void GenerallyPositive.Browser.IMagicHelper.ScrollWindow ( int hPixels,
int vPixels )

◆ ScrollWindowByHorizontal()

void GenerallyPositive.Browser.IMagicHelper.ScrollWindowByHorizontal ( int pixels)

◆ ScrollWindowByVertical()

void GenerallyPositive.Browser.IMagicHelper.ScrollWindowByVertical ( int pixels)

◆ SendKey()

void GenerallyPositive.Browser.IMagicHelper.SendKey ( byte vkcode)

◆ SendString()

void GenerallyPositive.Browser.IMagicHelper.SendString ( string text,
int delayMs = 0 )

◆ SetAttribute()

void GenerallyPositive.Browser.IMagicHelper.SetAttribute ( string elementId,
string attribute,
string value )

◆ SetUserAgent()

void GenerallyPositive.Browser.IMagicHelper.SetUserAgent ( string userAgent)

◆ SetValueFromElement()

void GenerallyPositive.Browser.IMagicHelper.SetValueFromElement ( string srcSelector,
string destElementId )

◆ StealthOverrideReferrer()

void GenerallyPositive.Browser.IMagicHelper.StealthOverrideReferrer ( )

◆ SubmitForm()

void GenerallyPositive.Browser.IMagicHelper.SubmitForm ( string elementId)

◆ SwitchToDefaultContent()

void GenerallyPositive.Browser.IMagicHelper.SwitchToDefaultContent ( )

◆ SwitchToElement()

void GenerallyPositive.Browser.IMagicHelper.SwitchToElement ( string elementId)

◆ SwitchToShadowRoot()

void GenerallyPositive.Browser.IMagicHelper.SwitchToShadowRoot ( string elementId)

◆ TabCount()

int GenerallyPositive.Browser.IMagicHelper.TabCount ( )

◆ TopBrowser()

bool GenerallyPositive.Browser.IMagicHelper.TopBrowser ( Process process)

◆ WindowInnerHeight()

int GenerallyPositive.Browser.IMagicHelper.WindowInnerHeight ( )

◆ WindowInnerWidth()

int GenerallyPositive.Browser.IMagicHelper.WindowInnerWidth ( )

◆ WindowOuterHeight()

int GenerallyPositive.Browser.IMagicHelper.WindowOuterHeight ( )

◆ WindowOuterWidth()

int GenerallyPositive.Browser.IMagicHelper.WindowOuterWidth ( )

◆ WindowPageOffsetX()

int GenerallyPositive.Browser.IMagicHelper.WindowPageOffsetX ( )

◆ WindowPageOffsetY()

int GenerallyPositive.Browser.IMagicHelper.WindowPageOffsetY ( )

◆ WindowScreenLeft()

int GenerallyPositive.Browser.IMagicHelper.WindowScreenLeft ( )

◆ WindowScreenTop()

int GenerallyPositive.Browser.IMagicHelper.WindowScreenTop ( )

◆ WithDownloadFile()

void GenerallyPositive.Browser.IMagicHelper.WithDownloadFile ( string downloadPath)

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