Class GPALSettings
Inheritance
System.Object
GPALSettings
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: GPAL.dll
Syntax
public class GPALSettings : IAllowGPALSettings
Properties
AutoUpdateWebDriver
Declaration
public bool AutoUpdateWebDriver { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
ChromeDriverFilename
Declaration
public string ChromeDriverFilename { get; }
Property Value
| Type |
Description |
| System.String |
|
ChromeDriverUpdateURL
Declaration
public string ChromeDriverUpdateURL { get; }
Property Value
| Type |
Description |
| System.String |
|
ChromeDriverXpathExpression
Declaration
public string ChromeDriverXpathExpression { get; }
Property Value
| Type |
Description |
| System.String |
|
ChromeDriverZipFilename
Declaration
public string ChromeDriverZipFilename { get; }
Property Value
| Type |
Description |
| System.String |
|
ChromeVersionRegistry
Declaration
public string ChromeVersionRegistry { get; }
Property Value
| Type |
Description |
| System.String |
|
DriverLocation
Declaration
public string DriverLocation { get; }
Property Value
| Type |
Description |
| System.String |
|
EdgeDriverFilename
Declaration
public string EdgeDriverFilename { get; }
Property Value
| Type |
Description |
| System.String |
|
EdgeDriverSelectorDynamicPart
Declaration
public string EdgeDriverSelectorDynamicPart { get; }
Property Value
| Type |
Description |
| System.String |
|
EdgeDriverUpdateURL
Declaration
public string EdgeDriverUpdateURL { get; }
Property Value
| Type |
Description |
| System.String |
|
EdgeDriverXpathExpression
Declaration
public string EdgeDriverXpathExpression { get; }
Property Value
| Type |
Description |
| System.String |
|
EdgeDriverZipFilename
Declaration
public string EdgeDriverZipFilename { get; }
Property Value
| Type |
Description |
| System.String |
|
EdgeVersionRegistry
Declaration
public string EdgeVersionRegistry { get; }
Property Value
| Type |
Description |
| System.String |
|
ErrorPlaceholder
Declaration
public string ErrorPlaceholder { get; }
Property Value
| Type |
Description |
| System.String |
|
FirefoxBinaryPathRegistry
Declaration
public string FirefoxBinaryPathRegistry { get; }
Property Value
| Type |
Description |
| System.String |
|
FirefoxDirectDownloadMimeTypes
Declaration
public string FirefoxDirectDownloadMimeTypes { get; }
Property Value
| Type |
Description |
| System.String |
|
FirefoxDriverFilename
Declaration
public string FirefoxDriverFilename { get; }
Property Value
| Type |
Description |
| System.String |
|
FirefoxDriverShowAllXpath
Declaration
public string FirefoxDriverShowAllXpath { get; }
Property Value
| Type |
Description |
| System.String |
|
FirefoxDriverUpdateURL
Declaration
public string FirefoxDriverUpdateURL { get; }
Property Value
| Type |
Description |
| System.String |
|
FirefoxDriverXpath
Declaration
public string FirefoxDriverXpath { get; }
Property Value
| Type |
Description |
| System.String |
|
FirefoxDriverZipFilename
Declaration
public string FirefoxDriverZipFilename { get; }
Property Value
| Type |
Description |
| System.String |
|
FirefoxVersionRegistry
Declaration
public string FirefoxVersionRegistry { get; }
Property Value
| Type |
Description |
| System.String |
|
FirefoxVersionRegistry2
Declaration
public string FirefoxVersionRegistry2 { get; }
Property Value
| Type |
Description |
| System.String |
|
MatchingPercentage
Declaration
public int MatchingPercentage { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
NoFallbackRecoveryActions
Declaration
public bool NoFallbackRecoveryActions { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
OttoMagicExtensionID
Declaration
public string OttoMagicExtensionID { get; }
Property Value
| Type |
Description |
| System.String |
|
OttoMagicExtensionPath
Declaration
public string OttoMagicExtensionPath { get; }
Property Value
| Type |
Description |
| System.String |
|
PromptBeforeUnexpectedExit
Declaration
public bool PromptBeforeUnexpectedExit { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
PublishStackTrace
Declaration
public bool PublishStackTrace { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
PublishToConsole
Declaration
public bool PublishToConsole { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
PublishToDatabase
Declaration
public GPALDatabase PublishToDatabase { get; }
Property Value
PublishToDebug
Declaration
public bool PublishToDebug { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
SeleniumTopsBrowser
Declaration
public bool SeleniumTopsBrowser { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
SimulateMouse
Declaration
public bool SimulateMouse { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
StopOnNotFound
Declaration
public bool StopOnNotFound { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
TypingDelay
Declaration
public int TypingDelay { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
UseHardware
Declaration
public bool UseHardware { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
UseJavaScript
Declaration
public bool UseJavaScript { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
UserAgent
Declaration
public string UserAgent { get; }
Property Value
| Type |
Description |
| System.String |
|
Version
Declaration
public string Version { get; }
Property Value
| Type |
Description |
| System.String |
|
WaitForInTicks
Declaration
public int WaitForInTicks { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
Methods
AppCallIfFound(Application.CallIfDelegate)
Declaration
public IAllowGPALSettings AppCallIfFound(Application.CallIfDelegate callIfFound)
Parameters
Returns
AppCallIfNotFound(Application.CallIfDelegate)
Declaration
public IAllowGPALSettings AppCallIfNotFound(Application.CallIfDelegate callIfNotFound)
Parameters
Returns
CallIfFound(Browser.CallIfDelegate)
Declaration
public IAllowGPALSettings CallIfFound(Browser.CallIfDelegate callIfFound)
Parameters
Returns
CallIfNotFound(Browser.CallIfDelegate)
Declaration
public IAllowGPALSettings CallIfNotFound(Browser.CallIfDelegate callIfNotFound)
Parameters
Returns
Clear()
Clear all settings - for testing
Declaration
Initialize()
Inintialize with default values
Declaration
WithAutoUpdateWebDriver(Boolean)
Declaration
public IAllowGPALSettings WithAutoUpdateWebDriver(bool trueFalse = true)
Parameters
| Type |
Name |
Description |
| System.Boolean |
trueFalse |
|
Returns
WithDefaultErrorPlaceholder(String)
Declaration
public IAllowGPALSettings WithDefaultErrorPlaceholder(string message = "##UNABLE TO GET##")
Parameters
| Type |
Name |
Description |
| System.String |
message |
|
Returns
WithDriverLocation(String)
Declaration
public IAllowGPALSettings WithDriverLocation(string driverPath)
Parameters
| Type |
Name |
Description |
| System.String |
driverPath |
|
Returns
WithExceptionHandler(EventHandler<GPAL.GPALEventArgs>)
Declaration
public IAllowGPALSettings WithExceptionHandler(EventHandler<GPAL.GPALEventArgs> eventHandler)
Parameters
Returns
WithImageMatchingPercentage(Int32)
Declaration
public IAllowGPALSettings WithImageMatchingPercentage(int matchPercent)
Parameters
| Type |
Name |
Description |
| System.Int32 |
matchPercent |
|
Returns
Declaration
public IAllowGPALSettings WithInformationHandler(EventHandler<GPAL.GPALEventArgs> eventHandler)
Parameters
Returns
WithNoFallbackActions(Boolean)
Declaration
public IAllowGPALSettings WithNoFallbackActions(bool trueFalse = true)
Parameters
| Type |
Name |
Description |
| System.Boolean |
trueFalse |
|
Returns
WithPromptBeforeUnexpectedExit(Boolean)
Declaration
public IAllowGPALSettings WithPromptBeforeUnexpectedExit(bool trueFalse = true)
Parameters
| Type |
Name |
Description |
| System.Boolean |
trueFalse |
|
Returns
WithPublishStackTrace(Boolean)
Declaration
public IAllowGPALSettings WithPublishStackTrace(bool trueFalse = true)
Parameters
| Type |
Name |
Description |
| System.Boolean |
trueFalse |
|
Returns
WithPublishToConsole(Boolean)
Declaration
public IAllowGPALSettings WithPublishToConsole(bool trueFalse = true)
Parameters
| Type |
Name |
Description |
| System.Boolean |
trueFalse |
|
Returns
WithPublishToDatabase(GPALDatabase)
Declaration
public IAllowGPALSettings WithPublishToDatabase(GPALDatabase database)
Parameters
Returns
WithPublishToDebug(Boolean)
Declaration
public IAllowGPALSettings WithPublishToDebug(bool trueFalse = true)
Parameters
| Type |
Name |
Description |
| System.Boolean |
trueFalse |
|
Returns
WithSeleniumToppingBrowser(Boolean)
Declaration
public IAllowGPALSettings WithSeleniumToppingBrowser(bool trueFalse = true)
Parameters
| Type |
Name |
Description |
| System.Boolean |
trueFalse |
|
Returns
WithSimulateMouse(Boolean)
Declaration
public IAllowGPALSettings WithSimulateMouse(bool trueFalse = true)
Parameters
| Type |
Name |
Description |
| System.Boolean |
trueFalse |
|
Returns
WithStopOnNotFound(Boolean)
Declaration
public IAllowGPALSettings WithStopOnNotFound(bool trueFalse = true)
Parameters
| Type |
Name |
Description |
| System.Boolean |
trueFalse |
|
Returns
WithTypingDelay(Int32)
Declaration
public IAllowGPALSettings WithTypingDelay(int delayInTicks)
Parameters
| Type |
Name |
Description |
| System.Int32 |
delayInTicks |
|
Returns
WithUseHardware(Boolean)
Declaration
public IAllowGPALSettings WithUseHardware(bool trueFalse = true)
Parameters
| Type |
Name |
Description |
| System.Boolean |
trueFalse |
|
Returns
WithUseJavaScript(Boolean)
Declaration
public IAllowGPALSettings WithUseJavaScript(bool trueFalse = true)
Parameters
| Type |
Name |
Description |
| System.Boolean |
trueFalse |
|
Returns
WithUseOttoMagic(String)
Declaration
public IAllowGPALSettings WithUseOttoMagic(string ottoMagicExtensionPath)
Parameters
| Type |
Name |
Description |
| System.String |
ottoMagicExtensionPath |
|
Returns
WithWaitFor(Int32)
Global setting to wait for time in ticks for an element to show up.
Applied to every element in every workflow.
Override in a unit of work using this pattern
.WithSelector(select0or)
.WaitFor(waitForInTicks)
.LeftClick()
NOTE: shortcut actions like LeftClick{selector) will not waitfor
and no syntax will make them wait except this global setting
Declaration
public IAllowGPALSettings WithWaitFor(int waitForInTicks)
Parameters
| Type |
Name |
Description |
| System.Int32 |
waitForInTicks |
|
Returns
Implements