Class SBlockBrowserAction
A block that can interact with a selenium-driven browser.
Implements
System.ComponentModel.INotifyPropertyChanged
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()
Namespace: RuriLib
Assembly: RuriLib.dll
Syntax
public class SBlockBrowserAction : BlockBase, INotifyPropertyChanged
Constructors
| Improve this Doc View SourceSBlockBrowserAction()
Creates a BrowserAction block.
Declaration
public SBlockBrowserAction()
Properties
| Improve this Doc View SourceAction
The action that is performed on the browser.
Declaration
public BrowserAction Action { get; set; }
Property Value
Type | Description |
---|---|
BrowserAction |
Input
The input string.
Declaration
public string Input { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceFromLS(String)
Builds a block from a line of LoliScript code.
Declaration
public override BlockBase FromLS(string line)
Parameters
Type | Name | Description |
---|---|---|
System.String | line | The line of LoliScript code |
Returns
Type | Description |
---|---|
BlockBase | The parsed block object |
Overrides
| Improve this Doc View SourceOpenBrowser(BotData)
Opens a browser of the given type (if not already open) and with the given settings.
Declaration
public static void OpenBrowser(BotData data)
Parameters
Type | Name | Description |
---|---|---|
BotData | data | The BotData where the settings are stored. |
Process(BotData)
Executes the actual block logic.
Declaration
public override void Process(BotData data)
Parameters
Type | Name | Description |
---|---|---|
BotData | data | The BotData needed for variable replacement |
Overrides
| Improve this Doc View SourceToLS(Boolean)
Converts the block to LoliScript code.
Declaration
public override string ToLS(bool indent = true)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | indent |
Returns
Type | Description |
---|---|
System.String |
Overrides
Implements
System.ComponentModel.INotifyPropertyChanged