octaltree / playwright-rust

Playwright port to Rust
316 stars 36 forks source link

Not implemented yet #6

Open octaltree opened 3 years ago

octaltree commented 3 years ago
class Request(AsyncBase):
    def redirected_to(self) -> typing.Optional["Request"]: # mutable
    def failure(self) -> typing.Optional[str]: # mutable
    def timing(self) -> ResourceTiming: # mutable
class WebSocket(AsyncBase):
    def expect_event( # event timeout
    async def wait_for_event( # event timeout
    def is_closed(self) -> bool: # event
class ElementHandle(JSHandle):
    async def select_option( # convert_select_option_values
    async def set_input_files( # normalize_file_payloads
class FileChooser(AsyncBase):
    def page(self) -> "Page":
    def element(self) -> "ElementHandle":
    def is_multiple(self) -> bool:
    async def set_files(
class Frame(AsyncBase):
    def page(self) -> "Page": # mutable
    def name(self) -> str: # event mutable
    def url(self) -> str: # event mutable
    def parent_frame(self) -> typing.Optional["Frame"]: # mutable
    def child_frames(self) -> typing.List["Frame"]: # mutable
    def expect_navigation( # event
    async def wait_for_load_state( # event
    def is_detached(self) -> bool: # event mutable
    async def select_option( # convert_select_option_values
    async def set_input_files( # normalize_file_payloads
    async def wait_for_function( # event
class Worker(AsyncBase):
    def url(self) -> str:
    async def evaluate(self, expression: str, arg: typing.Any = None) -> typing.Any:
    async def evaluate_handle(
class ConsoleMessage(AsyncBase):
    def type(self) -> str:
    def text(self) -> str:
    def args(self) -> typing.List["JSHandle"]:
    def location(self) -> SourceLocation:
class Dialog(AsyncBase):
    def type(self) -> str:
    def message(self) -> str:
    def default_value(self) -> str:
    async def accept(self, prompt_text: str = None) -> NoneType:
    async def dismiss(self) -> NoneType:
class Download(AsyncBase):
    def url(self) -> str:
    def suggested_filename(self) -> str:
    async def delete(self) -> NoneType:
    async def failure(self) -> typing.Optional[str]:
    async def path(self) -> typing.Optional[pathlib.Path]:
    async def save_as(self, path: typing.Union[str, pathlib.Path]) -> NoneType:
class Video(AsyncBase):
    async def path(self) -> pathlib.Path:
class Page(AsyncBase):
    def context(self) -> "BrowserContext": # mutable
    def frames(self) -> typing.List["Frame"]: # mutable
    def url(self) -> str: # event
    def viewport_size(self) -> typing.Optional[ViewportSize]: # mutable
    def workers(self) -> typing.List["Worker"]: # mutable
    def video(self) -> typing.Optional["Video"]: # mutable
    def frame( # mutable
    def set_default_navigation_timeout(self, timeout: float) -> NoneType: # timeout
    def set_default_timeout(self, timeout: float) -> NoneType: # timeout
    async def expose_function(self, name: str, callback: typing.Callable) -> NoneType: # mutable
    async def expose_binding( # mutable
    async def wait_for_load_state( # event
    async def wait_for_event( # event
    async def set_viewport_size(self, viewport_size: ViewportSize) -> NoneType: # mutable
    async def route( # mutable
    async def unroute( # mutable
    def is_closed(self) -> bool: # event
    async def select_option( # convert_select_option_values
    async def set_input_files( # normalize_file_payloads
    async def wait_for_function( # event
    async def pause(self) -> NoneType: # mutable
    def expect_event( # event
    def expect_console_message( # event
    def expect_download( # event
    def expect_file_chooser( # event
    def expect_navigation( # event
    def expect_popup( # event
    def expect_request( # event
    def expect_response( # event
    def expect_worker( # event
class BrowserContext(AsyncBase):
    async def expose_binding( # mutable
    async def expose_function(self, name: str, callback: typing.Callable) -> NoneType: # mutable
    async def route( # mutable
    async def unroute( # mutable
    def expect_event( # evnet
    async def wait_for_event( # event
    def expect_page( # event

_browser_context.py:63:14         self._channel.on("bindingCall"
_browser_context.py:67:14         self._channel.on("close", lambda _: self._on_close())
_browser_context.py:71:14         self._channel.on("route"
_page.py:129:14         self._channel.on(
_page.py:133:14         self._channel.on("close", lambda _: self._on_close())
_page.py:134:14         self._channel.on(
_page.py:140:14         self._channel.on("crash", lambda _: self._on_crash())
_page.py:141:14         self._channel.on("dialog", lambda params: self._on_dialog(params))
_page.py:142:14         self._channel.on(
_page.py:145:14         self._channel.on(
_page.py:151:14         self._channel.on(
_page.py:160:14         self._channel.on(
_page.py:164:14         self._channel.on(
_page.py:168:14         self._channel.on("load", lambda _: self.emit(Page.Events.Load))
_page.py:169:14         self._channel.on(
_page.py:175:14         self._channel.on(
_page.py:179:14         self._channel.on(
_page.py:185:14         self._channel.on(
_page.py:193:14         self._channel.on(
_page.py:199:14         self._channel.on(
_page.py:205:14         self._channel.on(
_page.py:211:14         self._channel.on(
_page.py:217:14         self._channel.on(
_page.py:223:14         self._channel.on(
_page.py:882:14         self._channel.on("close", lambda _: self._on_close())
_frame.py:75:14         self._channel.on("loadstate"
_frame.py:79:14         self._channel.on("navigated"
_network.py:279:14         self._channel.on(
_network.py:283:14         self._channel.on(
_network.py:287:14         self._channel.on(
_network.py:290:14         self._channel.on("close", lambda params: self._on_close())
_js_handle.py:35:14         self._channel.on(

BrowserContextImpl.java:389:18   protected void handleEvent(String event, JsonObject params) {
PageImpl.java:113:18   protected void handleEvent(String event, JsonObject params) {
FrameImpl.java:913:18   protected void handleEvent(String event, JsonObject params) {
WorkerImpl.java:97:18   protected void handleEvent(String event, JsonObject params) {
JSHandleImpl.java:106:8   void handleEvent(String event, JsonObject parameters) {
JSHandleImpl.java:110:11     super.handleEvent(event, parameters);
WebSocketImpl.java:168:8   void handleEvent(String event, JsonObject parameters) {
octaltree commented 3 years ago
class Request(AsyncBase):
    def redirected_to(self) -> typing.Optional["Request"]: # mutable
    def failure(self) -> typing.Optional[str]: # mutable
    def timing(self) -> ResourceTiming: # mutable
class WebSocket(AsyncBase):
    def expect_event( # event timeout
    async def wait_for_event( # event timeout
    def is_closed(self) -> bool: # event
class FileChooser(AsyncBase):
    def page(self) -> "Page":
    def element(self) -> "ElementHandle":
    def is_multiple(self) -> bool:
    async def set_files(
class Frame(AsyncBase):
    def expect_navigation( # event
    async def wait_for_load_state( # event
class Worker(AsyncBase):
    def url(self) -> str:
    async def evaluate(self, expression: str, arg: typing.Any = None) -> typing.Any:
    async def evaluate_handle(
class ConsoleMessage(AsyncBase):
    def type(self) -> str:
    def text(self) -> str:
    def args(self) -> typing.List["JSHandle"]:
    def location(self) -> SourceLocation:
class Dialog(AsyncBase):
    def type(self) -> str:
    def message(self) -> str:
    def default_value(self) -> str:
    async def accept(self, prompt_text: str = None) -> NoneType:
    async def dismiss(self) -> NoneType:
class Download(AsyncBase):
    def url(self) -> str:
    def suggested_filename(self) -> str:
    async def delete(self) -> NoneType:
    async def failure(self) -> typing.Optional[str]:
    async def path(self) -> typing.Optional[pathlib.Path]:
    async def save_as(self, path: typing.Union[str, pathlib.Path]) -> NoneType:
class Video(AsyncBase):
    async def path(self) -> pathlib.Path:
class Page(AsyncBase):
    def workers(self) -> typing.List["Worker"]: # mutable
    def video(self) -> typing.Optional["Video"]: # mutable

    async def expose_function(self, name: str, callback: typing.Callable) -> NoneType: # mutable
    async def expose_binding( # mutable
    async def route( # mutable
    async def unroute( # mutable

    async def wait_for_load_state( # event
    def expect_navigation( # event

    def expect_console_message( # event
    def expect_download( # event
    def expect_file_chooser( # event
    def expect_popup( # event
    def expect_request( # event
    def expect_response( # event
    def expect_worker( # event
class BrowserContext(AsyncBase):
    async def expose_binding( # mutable
    async def expose_function(self, name: str, callback: typing.Callable) -> NoneType: # mutable
    async def route( # mutable
    async def unroute( # mutable

_browser_context.py:63:14         self._channel.on("bindingCall"
_browser_context.py:71:14         self._channel.on("route"
_page.py:129:14         self._channel.on("bindingCall",
_page.py:133:14         self._channel.on("close", lambda _: self._on_close())
_page.py:134:14         self._channel.on("console",
_page.py:140:14         self._channel.on("crash", lambda _: self._on_crash())
_page.py:141:14         self._channel.on("dialog", lambda params: self._on_dialog(params))
_page.py:142:14         self._channel.on("domcontentloaded",
_page.py:145:14         self._channel.on("download",
_page.py:151:14         self._channel.on("fileChooser",
_page.py:160:14         self._channel.on("frameAttached",
_page.py:164:14         self._channel.on("frameDetached",
_page.py:168:14         self._channel.on("load", lambda _: self.emit(Page.Events.Load))
_page.py:169:14         self._channel.on("pageError",
_page.py:175:14         self._channel.on("popup",
_page.py:179:14         self._channel.on("request",
_page.py:185:14         self._channel.on("requestFailed",
_page.py:193:14         self._channel.on("requestFinished",
_page.py:199:14         self._channel.on("response",
_page.py:205:14         self._channel.on("route",
_page.py:211:14         self._channel.on("video",
_page.py:217:14         self._channel.on("webSocket",
_page.py:223:14         self._channel.on("worker", lambda params: self._on_worker(from_channel(params["worker"]))
_page.py:882:14         self._channel.on("close", lambda _: self._on_close())
_frame.py:75:14         self._channel.on("loadstate"
_frame.py:79:14         self._channel.on("navigated"
_network.py:279:14         self._channel.on("frameSent",
_network.py:283:14         self._channel.on("frameReceived",
_network.py:287:14         self._channel.on("error",
_network.py:290:14         self._channel.on("close", lambda params: self._on_close())
_js_handle.py:35:14         self._channel.on("previewUpdated",

BrowserContextImpl.java:389:18   protected void handleEvent(String event, JsonObject params) {
PageImpl.java:113:18   protected void handleEvent(String event, JsonObject params) {
FrameImpl.java:913:18   protected void handleEvent(String event, JsonObject params) {
WorkerImpl.java:97:18   protected void handleEvent(String event, JsonObject params) {
JSHandleImpl.java:106:8   void handleEvent(String event, JsonObject parameters) {
JSHandleImpl.java:110:11     super.handleEvent(event, parameters);
WebSocketImpl.java:168:8   void handleEvent(String event, JsonObject parameters) {
octaltree commented 3 years ago
class Request(AsyncBase):
    def redirected_to(self) -> typing.Optional["Request"]: # mutable
    def failure(self) -> typing.Optional[str]: # mutable
    def timing(self) -> ResourceTiming: # mutable
class WebSocket(AsyncBase):
    def expect_event( # event timeout
    async def wait_for_event( # event timeout
    def is_closed(self) -> bool: # event
class FileChooser(AsyncBase):
    def page(self) -> "Page":
    def element(self) -> "ElementHandle":
    def is_multiple(self) -> bool:
    async def set_files(
class Frame(AsyncBase):
    def expect_navigation( # event
    async def wait_for_load_state( # event
class Worker(AsyncBase):
    def url(self) -> str:
    async def evaluate(self, expression: str, arg: typing.Any = None) -> typing.Any:
    async def evaluate_handle(
class ConsoleMessage(AsyncBase):
    def type(self) -> str:
    def text(self) -> str:
    def args(self) -> typing.List["JSHandle"]:
    def location(self) -> SourceLocation:
class Dialog(AsyncBase):
    def type(self) -> str:
    def message(self) -> str:
    def default_value(self) -> str:
    async def accept(self, prompt_text: str = None) -> NoneType:
    async def dismiss(self) -> NoneType:
class Download(AsyncBase):
    def url(self) -> str:
    def suggested_filename(self) -> str:
    async def delete(self) -> NoneType:
    async def failure(self) -> typing.Optional[str]:
    async def path(self) -> typing.Optional[pathlib.Path]:
    async def save_as(self, path: typing.Union[str, pathlib.Path]) -> NoneType:
class Video(AsyncBase):
    async def path(self) -> pathlib.Path:
class Page(AsyncBase):
    def workers(self) -> typing.List["Worker"]: # mutable
    def video(self) -> typing.Optional["Video"]: # mutable

    async def expose_function(self, name: str, callback: typing.Callable) -> NoneType: # mutable
    async def expose_binding( # mutable
    async def route( # mutable
    async def unroute( # mutable

    async def wait_for_load_state( # event
    def expect_navigation( # event

    def expect_console_message( # event
    def expect_download( # event
    def expect_file_chooser( # event
    def expect_popup( # event
    def expect_request( # event
    def expect_response( # event
    def expect_worker( # event
class BrowserContext(AsyncBase):
    async def expose_binding( # mutable
    async def expose_function(self, name: str, callback: typing.Callable) -> NoneType: # mutable
    async def route( # mutable
    async def unroute( # mutable

_browser_context.py:63:14         self._channel.on("bindingCall"
_browser_context.py:71:14         self._channel.on("route"
_page.py:129:14         self._channel.on("bindingCall",
_page.py:134:14         self._channel.on("console",
_page.py:141:14         self._channel.on("dialog", lambda params: self._on_dialog(params))
_page.py:145:14         self._channel.on("download",
_page.py:151:14         self._channel.on("fileChooser",
_page.py:169:14         self._channel.on("pageError",
_page.py:175:14         self._channel.on("popup",
_page.py:179:14         self._channel.on("request",
_page.py:185:14         self._channel.on("requestFailed",
_page.py:193:14         self._channel.on("requestFinished",
_page.py:199:14         self._channel.on("response",
_page.py:205:14         self._channel.on("route",
_page.py:211:14         self._channel.on("video",
_page.py:217:14         self._channel.on("webSocket",
_page.py:223:14         self._channel.on("worker", lambda params: self._on_worker(from_channel(params["worker"]))
_page.py:882:14         self._channel.on("close", lambda _: self._on_close())
_frame.py:79:14         self._channel.on("navigated"
_network.py:279:14         self._channel.on("frameSent",
_network.py:283:14         self._channel.on("frameReceived",
_network.py:287:14         self._channel.on("error",
_network.py:290:14         self._channel.on("close", lambda params: self._on_close())
_js_handle.py:35:14         self._channel.on("previewUpdated",

BrowserContextImpl.java:389:18   protected void handleEvent(String event, JsonObject params) {
PageImpl.java:113:18   protected void handleEvent(String event, JsonObject params) {
FrameImpl.java:913:18   protected void handleEvent(String event, JsonObject params) {
WorkerImpl.java:97:18   protected void handleEvent(String event, JsonObject params) {
JSHandleImpl.java:106:8   void handleEvent(String event, JsonObject parameters) {
JSHandleImpl.java:110:11     super.handleEvent(event, parameters);
WebSocketImpl.java:168:8   void handleEvent(String event, JsonObject parameters) {
octaltree commented 3 years ago
class Request(AsyncBase):
    def redirected_to(self) -> typing.Optional["Request"]: # mutable
    def failure(self) -> typing.Optional[str]: # mutable
    def timing(self) -> ResourceTiming: # mutable
class WebSocket(AsyncBase):
    def expect_event( # event timeout
    async def wait_for_event( # event timeout
    def is_closed(self) -> bool: # event
class FileChooser(AsyncBase):
    def page(self) -> "Page":
    def element(self) -> "ElementHandle":
    def is_multiple(self) -> bool:
    async def set_files(
class Frame(AsyncBase):
    def expect_navigation( # event
    async def wait_for_load_state( # event
class Worker(AsyncBase):
    def url(self) -> str:
    async def evaluate(self, expression: str, arg: typing.Any = None) -> typing.Any:
    async def evaluate_handle(
class Dialog(AsyncBase):
    def type(self) -> str:
    def message(self) -> str:
    def default_value(self) -> str:
    async def accept(self, prompt_text: str = None) -> NoneType:
    async def dismiss(self) -> NoneType:
class Download(AsyncBase):
    def url(self) -> str:
    def suggested_filename(self) -> str:
    async def delete(self) -> NoneType:
    async def failure(self) -> typing.Optional[str]:
    async def path(self) -> typing.Optional[pathlib.Path]:
    async def save_as(self, path: typing.Union[str, pathlib.Path]) -> NoneType:
class Video(AsyncBase):
    async def path(self) -> pathlib.Path:
class Page(AsyncBase):
    def workers(self) -> typing.List["Worker"]: # mutable
    def video(self) -> typing.Optional["Video"]: # mutable

    async def expose_function(self, name: str, callback: typing.Callable) -> NoneType: # mutable
    async def expose_binding( # mutable
    async def route( # mutable
    async def unroute( # mutable

    async def wait_for_load_state( # event
    def expect_navigation( # event

    def expect_console_message( # event
    def expect_download( # event
    def expect_file_chooser( # event
    def expect_popup( # event
    def expect_request( # event
    def expect_response( # event
    def expect_worker( # event
class BrowserContext(AsyncBase):
    async def expose_binding( # mutable
    async def expose_function(self, name: str, callback: typing.Callable) -> NoneType: # mutable
    async def route( # mutable
    async def unroute( # mutable

_browser_context.py:63:14         self._channel.on("bindingCall"
_browser_context.py:71:14         self._channel.on("route"
_page.py:129:14         self._channel.on("bindingCall",
_page.py:141:14         self._channel.on("dialog", lambda params: self._on_dialog(params))
_page.py:145:14         self._channel.on("download",
_page.py:151:14         self._channel.on("fileChooser",
_page.py:169:14         self._channel.on("pageError",
_page.py:175:14         self._channel.on("popup",
_page.py:179:14         self._channel.on("request",
_page.py:185:14         self._channel.on("requestFailed",
_page.py:193:14         self._channel.on("requestFinished",
_page.py:199:14         self._channel.on("response",
_page.py:205:14         self._channel.on("route",
_page.py:211:14         self._channel.on("video",
_page.py:217:14         self._channel.on("webSocket",
_page.py:223:14         self._channel.on("worker", lambda params: self._on_worker(from_channel(params["worker"]))
_page.py:882:14         self._channel.on("close", lambda _: self._on_close())
_frame.py:79:14         self._channel.on("navigated"
_network.py:279:14         self._channel.on("frameSent",
_network.py:283:14         self._channel.on("frameReceived",
_network.py:287:14         self._channel.on("error",
_network.py:290:14         self._channel.on("close", lambda params: self._on_close())
_js_handle.py:35:14         self._channel.on("previewUpdated",

BrowserContextImpl.java:389:18   protected void handleEvent(String event, JsonObject params) {
PageImpl.java:113:18   protected void handleEvent(String event, JsonObject params) {
FrameImpl.java:913:18   protected void handleEvent(String event, JsonObject params) {
WorkerImpl.java:97:18   protected void handleEvent(String event, JsonObject params) {
JSHandleImpl.java:106:8   void handleEvent(String event, JsonObject parameters) {
JSHandleImpl.java:110:11     super.handleEvent(event, parameters);
WebSocketImpl.java:168:8   void handleEvent(String event, JsonObject parameters) {
octaltree commented 3 years ago
class WebSocket(AsyncBase):
    def expect_event( # event timeout
    async def wait_for_event( # event timeout
    def is_closed(self) -> bool: # event
class FileChooser(AsyncBase):
    def page(self) -> "Page":
    def element(self) -> "ElementHandle":
    def is_multiple(self) -> bool:
    async def set_files(
class Frame(AsyncBase):
    def expect_navigation( # event
    async def wait_for_load_state( # event
    async def wait_for_url( # event
class Worker(AsyncBase):
    def url(self) -> str:
    async def evaluate(self, expression: str, arg: typing.Any = None) -> typing.Any:
    async def evaluate_handle(
class Dialog(AsyncBase):
    def type(self) -> str:
    def message(self) -> str:
    def default_value(self) -> str:
    async def accept(self, prompt_text: str = None) -> NoneType:
    async def dismiss(self) -> NoneType:
class Download(AsyncBase):
    def url(self) -> str:
    def suggested_filename(self) -> str:
    async def delete(self) -> NoneType:
    async def failure(self) -> typing.Optional[str]:
    async def path(self) -> typing.Optional[pathlib.Path]:
    async def save_as(self, path: typing.Union[str, pathlib.Path]) -> NoneType:
class Video(AsyncBase):
    async def path(self) -> pathlib.Path:
class Page(AsyncBase):
    def workers(self) -> typing.List["Worker"]: # mutable
    def video(self) -> typing.Optional["Video"]: # mutable

    async def expose_function(self, name: str, callback: typing.Callable) -> NoneType: # mutable
    async def expose_binding( # mutable
    async def route( # mutable
    async def unroute( # mutable

    async def wait_for_load_state( # event
    def expect_navigation( # event

    def expect_console_message( # event
    def expect_download( # event
    def expect_file_chooser( # event
    def expect_popup( # event
    def expect_request( # event
    def expect_response( # event
    def expect_worker( # event
class BrowserContext(AsyncBase):
    async def expose_binding( # mutable
    async def expose_function(self, name: str, callback: typing.Callable) -> NoneType: # mutable
    async def route( # mutable
    async def unroute( # mutable

_browser_context.py:63:14         self._channel.on("bindingCall"
_browser_context.py:71:14         self._channel.on("route"
_page.py:129:14         self._channel.on("bindingCall",
_page.py:141:14         self._channel.on("dialog", lambda params: self._on_dialog(params))
_page.py:145:14         self._channel.on("download",
_page.py:151:14         self._channel.on("fileChooser",
_page.py:169:14         self._channel.on("pageError",
_page.py:175:14         self._channel.on("popup",
_page.py:205:14         self._channel.on("route",
_page.py:211:14         self._channel.on("video",
_page.py:217:14         self._channel.on("webSocket",
_page.py:223:14         self._channel.on("worker", lambda params: self._on_worker(from_channel(params["worker"]))
_page.py:882:14         self._channel.on("close", lambda _: self._on_close())
_frame.py:79:14         self._channel.on("navigated"
_network.py:279:14         self._channel.on("frameSent",
_network.py:283:14         self._channel.on("frameReceived",
_network.py:287:14         self._channel.on("error",
_network.py:290:14         self._channel.on("close", lambda params: self._on_close())
_js_handle.py:35:14         self._channel.on("previewUpdated",

BrowserContextImpl.java:389:18   protected void handleEvent(String event, JsonObject params) {
PageImpl.java:113:18   protected void handleEvent(String event, JsonObject params) {
FrameImpl.java:913:18   protected void handleEvent(String event, JsonObject params) {
WorkerImpl.java:97:18   protected void handleEvent(String event, JsonObject params) {
JSHandleImpl.java:106:8   void handleEvent(String event, JsonObject parameters) {
JSHandleImpl.java:110:11     super.handleEvent(event, parameters);
WebSocketImpl.java:168:8   void handleEvent(String event, JsonObject parameters) {
octaltree commented 3 years ago
class WebSocket(AsyncBase):
    def expect_event( # event timeout
    async def wait_for_event( # event timeout
class FileChooser(AsyncBase):
    def page(self) -> "Page":
    def element(self) -> "ElementHandle":
    def is_multiple(self) -> bool:
    async def set_files(
class Frame(AsyncBase):
    def expect_navigation( # event
    async def wait_for_load_state( # event
    async def wait_for_url( # event
class Worker(AsyncBase):
    def url(self) -> str:
    async def evaluate(self, expression: str, arg: typing.Any = None) -> typing.Any:
    async def evaluate_handle(
class Dialog(AsyncBase):
    def type(self) -> str:
    def message(self) -> str:
    def default_value(self) -> str:
    async def accept(self, prompt_text: str = None) -> NoneType:
    async def dismiss(self) -> NoneType:
class Download(AsyncBase):
    def url(self) -> str:
    def suggested_filename(self) -> str:
    async def delete(self) -> NoneType:
    async def failure(self) -> typing.Optional[str]:
    async def path(self) -> typing.Optional[pathlib.Path]:
    async def save_as(self, path: typing.Union[str, pathlib.Path]) -> NoneType:
class Video(AsyncBase):
    async def path(self) -> pathlib.Path:
class Page(AsyncBase):
    def workers(self) -> typing.List["Worker"]: # mutable
    def video(self) -> typing.Optional["Video"]: # mutable

    async def expose_function(self, name: str, callback: typing.Callable) -> NoneType: # mutable
    async def expose_binding( # mutable
    async def route( # mutable
    async def unroute( # mutable

    async def wait_for_load_state( # event
    def expect_navigation( # event

    def expect_console_message( # event
    def expect_download( # event
    def expect_file_chooser( # event
    def expect_popup( # event
    def expect_request( # event
    def expect_response( # event
    def expect_worker( # event
class BrowserContext(AsyncBase):
    async def expose_binding( # mutable
    async def expose_function(self, name: str, callback: typing.Callable) -> NoneType: # mutable
    async def route( # mutable
    async def unroute( # mutable

_browser_context.py:63:14         self._channel.on("bindingCall"
_browser_context.py:71:14         self._channel.on("route"
_page.py:129:14         self._channel.on("bindingCall",
_page.py:141:14         self._channel.on("dialog", lambda params: self._on_dialog(params))
_page.py:145:14         self._channel.on("download",
_page.py:151:14         self._channel.on("fileChooser",
_page.py:169:14         self._channel.on("pageError",
_page.py:205:14         self._channel.on("route",
_page.py:211:14         self._channel.on("video",
_page.py:223:14         self._channel.on("worker", lambda params: self._on_worker(from_channel(params["worker"]))
_page.py:882:14         self._channel.on("close", lambda _: self._on_close())
_network.py:287:14         self._channel.on("error",

BrowserContextImpl.java:389:18   protected void handleEvent(String event, JsonObject params) {
PageImpl.java:113:18   protected void handleEvent(String event, JsonObject params) {
WorkerImpl.java:97:18   protected void handleEvent(String event, JsonObject params) {
WebSocketImpl.java:168:8   void handleEvent(String event, JsonObject parameters) {
octaltree commented 3 years ago
class WebSocket(AsyncBase):
    def expect_event( # event timeout
    async def wait_for_event( # event timeout
class FileChooser(AsyncBase):
    def page(self) -> "Page":
    def element(self) -> "ElementHandle":
    def is_multiple(self) -> bool:
    async def set_files(
class Frame(AsyncBase):
    def expect_navigation( # event
    async def wait_for_load_state( # event
    async def wait_for_url( # event
class Dialog(AsyncBase):
    def type(self) -> str:
    def message(self) -> str:
    def default_value(self) -> str:
    async def accept(self, prompt_text: str = None) -> NoneType:
    async def dismiss(self) -> NoneType:
class Download(AsyncBase):
    def url(self) -> str:
    def suggested_filename(self) -> str:
    async def delete(self) -> NoneType:
    async def failure(self) -> typing.Optional[str]:
    async def path(self) -> typing.Optional[pathlib.Path]:
    async def save_as(self, path: typing.Union[str, pathlib.Path]) -> NoneType:
class Video(AsyncBase):
    async def path(self) -> pathlib.Path:
class Page(AsyncBase):
    def video(self) -> typing.Optional["Video"]: # mutable

    async def expose_function(self, name: str, callback: typing.Callable) -> NoneType: # mutable
    async def expose_binding( # mutable
    async def route( # mutable
    async def unroute( # mutable

    async def wait_for_load_state( # event
    def expect_navigation( # event

    def expect_console_message( # event
    def expect_download( # event
    def expect_file_chooser( # event
    def expect_popup( # event
    def expect_request( # event
    def expect_response( # event
    def expect_worker( # event
class BrowserContext(AsyncBase):
    async def expose_binding( # mutable
    async def expose_function(self, name: str, callback: typing.Callable) -> NoneType: # mutable
    async def route( # mutable
    async def unroute( # mutable

_browser_context.py:63:14         self._channel.on("bindingCall"
_browser_context.py:71:14         self._channel.on("route"
_page.py:129:14         self._channel.on("bindingCall",
_page.py:141:14         self._channel.on("dialog", lambda params: self._on_dialog(params))
_page.py:145:14         self._channel.on("download",
_page.py:151:14         self._channel.on("fileChooser",
_page.py:169:14         self._channel.on("pageError",
_page.py:205:14         self._channel.on("route",
_page.py:211:14         self._channel.on("video",

BrowserContextImpl.java:389:18   protected void handleEvent(String event, JsonObject params) {
PageImpl.java:113:18   protected void handleEvent(String event, JsonObject params) {
octaltree commented 3 years ago
class WebSocket(AsyncBase):
    def expect_event( # event timeout
    async def wait_for_event( # event timeout
class FileChooser(AsyncBase):
    def page(self) -> "Page":
    def element(self) -> "ElementHandle":
    def is_multiple(self) -> bool:
    async def set_files(
class Frame(AsyncBase):
    def expect_navigation( # event
    async def wait_for_load_state( # event
    async def wait_for_url( # event
class Dialog(AsyncBase):
    def type(self) -> str:
    def message(self) -> str:
    def default_value(self) -> str:
    async def accept(self, prompt_text: str = None) -> NoneType:
    async def dismiss(self) -> NoneType:
class Page(AsyncBase):

    async def expose_function(self, name: str, callback: typing.Callable) -> NoneType: # mutable
    async def expose_binding( # mutable
    async def route( # mutable
    async def unroute( # mutable

    async def wait_for_load_state( # event
    def expect_navigation( # event

    def expect_console_message( # event
    def expect_download( # event
    def expect_file_chooser( # event
    def expect_popup( # event
    def expect_request( # event
    def expect_response( # event
    def expect_worker( # event
class BrowserContext(AsyncBase):
    async def expose_binding( # mutable
    async def expose_function(self, name: str, callback: typing.Callable) -> NoneType: # mutable
    async def route( # mutable
    async def unroute( # mutable

_browser_context.py:63:14         self._channel.on("bindingCall"
_browser_context.py:71:14         self._channel.on("route"
_page.py:129:14         self._channel.on("bindingCall",
_page.py:141:14         self._channel.on("dialog", lambda params: self._on_dialog(params))
_page.py:151:14         self._channel.on("fileChooser",
_page.py:169:14         self._channel.on("pageError",
_page.py:205:14         self._channel.on("route",

BrowserContextImpl.java:389:18   protected void handleEvent(String event, JsonObject params) {
PageImpl.java:113:18   protected void handleEvent(String event, JsonObject params) {

timeout, android, electron, connect

octaltree commented 3 years ago

page::Event::FileChooser isn't responded. I reproduced it by executing the js. I put it off. https://github.com/microsoft/playwright-java/issues/412

octaltree commented 3 years ago

playwright 1.11 :tada: https://github.com/microsoft/playwright/releases