playwright-core
Advanced tools
Comparing version 0.11.1-next.1584571745710 to 0.11.1-next.1584574737431
@@ -60,4 +60,4 @@ /** | ||
interestingOnly?: boolean; | ||
root?: dom.ElementHandle | null; | ||
root?: dom.ElementHandle; | ||
}): Promise<SerializedAXNode | null>; | ||
} |
@@ -71,3 +71,3 @@ /** | ||
boundingBox(): Promise<types.Rect | null>; | ||
screenshot(options?: types.ElementScreenshotOptions): Promise<string | platform.BufferType>; | ||
screenshot(options?: types.ElementScreenshotOptions): Promise<platform.BufferType>; | ||
$(selector: string): Promise<ElementHandle | null>; | ||
@@ -74,0 +74,0 @@ $$(selector: string): Promise<ElementHandle<Element>[]>; |
@@ -25,5 +25,5 @@ /** | ||
process(): ChildProcess; | ||
wsEndpoint(): string | null; | ||
wsEndpoint(): string; | ||
kill(): void; | ||
close(): Promise<void>; | ||
} |
@@ -23,6 +23,7 @@ "use strict"; | ||
super(); | ||
this._browserWSEndpoint = null; | ||
this._browserWSEndpoint = ''; | ||
this._process = process; | ||
this._gracefullyClose = gracefullyClose; | ||
this._browserWSEndpoint = wsEndpoint; | ||
if (wsEndpoint) | ||
this._browserWSEndpoint = wsEndpoint; | ||
} | ||
@@ -29,0 +30,0 @@ process() { |
{ | ||
"name": "playwright-core", | ||
"version": "0.11.1-next.1584571745710", | ||
"version": "0.11.1-next.1584574737431", | ||
"description": "A high-level API to automate web browsers", | ||
@@ -5,0 +5,0 @@ "repository": "github:Microsoft/playwright", |
2442711
57232