jsexecutor class
Description
Represents the function to execute JavaScript.
Notes
It is a class that is statically included in the Cooker.
The instance returned by the variable declaration has been initialized. It is a jsexecutor for the main-browser.
Cooker has two browsers, Main-browser and Sub-browser. The jsexecutor instance for each browser is a singleton instance. Returns a singleton instance for each browser in response to an instance creation request.
fitter
| Signature | Description |
| jsexecutor() | Returns a new instance of jsexecutor class. |
getter
| Signature | Description |
| Fitted | Returns the value that indicates whether an instance was initialized. |
| IsMain | Returns whether it is a jsexecutor for the Main-browser. |
| ParentBrowser | Returns the parent browser. |
| TypeName | Returns the type name. |
| Token | Returns the access string for the JavaScript extension. |
setter
This class does not have a setter.
method
| Signature | Description |
| CallJSFunction(string,...) | Calls a JavaScript function. |
| Execute(string) | Executes JavaScript code. |
| Execute(string,bool) | Executes JavaScript code. |
| ExecuteFromFile(string) | Executes JavaScript code. |
| ExecuteFromFile(string,bool) | Executes JavaScript code. |
| ExistsId(string) | Returns a value that indicates whether the element exists. |
| GetData() | Returns a string set in JavaScript. |
| GetTypeName(string) | Returns the type of string that returned as the result of the JavaScript. |
| IsString(string) | Returns a value that indicates whether the argument is enclosed in double quotes. |
| Parse(string) | Parses the string that returned as the result of the JavaScript and returns the type and value. |
| SetData(string) | Sets a string to JavaScript. |
| SetJS(string,string) | Creates a script tag and insert the JavaScript code. |
| SetJSFromFile(string,string) | Creates a script tag and insert the JavaScript code. |
| SetSRC(string,string,string) | Creates a script tag and sets the src attribute. |
| TrimDQ(string) | Returns a new string with double quotes removed. |
direct JavaScript function call
| Signature | Description |
| ...(...) | Calls a JavaScript function with Rice's method invocation notation. |
event
| Signature | Description |
| Notice(class,string) | Assigns a handler to the "Notice" event. |


