Property | Type | Description | |
---|---|---|---|
_loadingPicture |
Method | Description | |
---|---|---|
BrowserDocumentComplete ( ) : |
Method called when the DocumentComplete event is handled from the browser
|
|
HideLoading ( ) : void |
Hide the loading image
|
|
Initialise ( System.Windows.Forms.WebBrowser browser, ILog messageHandler ) : void |
Constructor - attach to the web browser supplied
|
|
InvokeScript ( string scriptToRun ) : void |
Invoke javascript on the page
|
|
OnAction ( string actionEnumName ) : void |
Allow implementations to handle actions which aren't handled by the browserhost Unfortunately, because of dependencies, we need to pass in the name of the action enumeration rather than the enum itself
|
|
OnClosing ( ) : void |
Fired when the browser host is closing
|
|
Pause ( ) : |
Pause button was pressed
|
|
PerformLogin ( string username, string password ) : |
Perform a login to the target website
|
|
Play ( ) : |
Play button was pressed, so resume playback
|
|
PlayVideo ( string videoToPlay ) : |
Begin playback of the specified video The videoToPlay will be one of the parameters sent to the browserhost
|
|
RemoveFileFromTempInternetFiles ( string fileNameStartsWith, string fileExtension ) : void |
Remove the specified files from temporary internet files
|
|
ShowLoading ( ) : void |
Show a loading image
|
|
WaitForComplete ( Func |
Poll ProcessComplete, waiting for the timeout (in seconds) Returns true if the process completed, otherwise we get false (a timeout)
|
Method | Description | |
---|---|---|
Browser_DocumentCompleted ( object sender, System.Windows.Forms.WebBrowserDocumentCompletedEventArgs e ) : void |
Pass the document completed event to the child connectors
|
|
RedirectOnError ( |
Log an error, detach the event handler and redirect to blank page
|
public abstract BrowserDocumentComplete ( ) : |
||
return |
public Initialise ( System.Windows.Forms.WebBrowser browser, ILog messageHandler ) : void | ||
browser | System.Windows.Forms.WebBrowser | |
messageHandler | ILog | |
return | void |
public InvokeScript ( string scriptToRun ) : void | ||
scriptToRun | string | |
return | void |
public OnAction ( string actionEnumName ) : void | ||
actionEnumName | string | |
return | void |
public abstract Pause ( ) : |
||
return |
public abstract PerformLogin ( string username, string password ) : |
||
username | string | |
password | string | |
return |
public abstract Play ( ) : |
||
return |
public abstract PlayVideo ( string videoToPlay ) : |
||
videoToPlay | string | |
return |
public RemoveFileFromTempInternetFiles ( string fileNameStartsWith, string fileExtension ) : void | ||
fileNameStartsWith | string | |
fileExtension | string | |
return | void |
public WaitForComplete ( Func |
||
forceQuit | Func |
|
pollTimeout | int | |
return | bool |