BrowserPage
Extends:
Member Summary
Public Members | ||
public get |
FinderClass: Finder: * |
|
public get |
|
|
public get |
|
|
public get |
|
Method Summary
Public Methods | ||
public |
executeJavaScript(code: *, args: ...*): Promise<string|number|boolean> |
|
public |
|
|
public |
loadURL(url: *, options: {}): Promise<BrowserPage> |
|
public |
show developer tool |
|
public |
|
|
public |
takeScreenshot(filename: *): Promise<string> |
|
public |
waitForAlert(action: *, message: *): Promise<string> |
|
public |
waitForConfirm(action: *, message: *, isClickOK: *): Promise<string> |
|
public |
waitForDownload(action: *, options: *): Promise<object> |
Public Members
Public Methods
public executeJavaScript(code: *, args: ...*): Promise<string|number|boolean> source
Params:
Name | Type | Attribute | Description |
code | * | ||
args | ...* |
public loadURL(url: *, options: {}): Promise<BrowserPage> source
Params:
Name | Type | Attribute | Description |
url | * | ||
options | {} |
|
public takeScreenshot(filename: *): Promise<string> source
Params:
Name | Type | Attribute | Description |
filename | * |
public waitForAlert(action: *, message: *): Promise<string> source
Params:
Name | Type | Attribute | Description |
action | * | ||
message | * |