Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Public Member Functions | List of all members
playwright.async_api._generated.Dialog Class Reference
Inheritance diagram for playwright.async_api._generated.Dialog:
Inheritance graph
[legend]
Collaboration diagram for playwright.async_api._generated.Dialog:
Collaboration graph
[legend]

Public Member Functions

str type (self)
 
str message (self)
 
str default_value (self)
 
typing.Optional["Page"] page (self)
 
None accept (self, typing.Optional[str] prompt_text=None)
 
None dismiss (self)
 
- Public Member Functions inherited from playwright._impl._async_base.AsyncBase
None __init__ (self, Any impl_obj)
 
str __str__ (self)
 
None on (self, Any event, Any f)
 
None once (self, Any event, Any f)
 
None remove_listener (self, Any event, Any f)
 
- Public Member Functions inherited from playwright._impl._impl_to_api_mapping.ImplWrapper
str __repr__ (self)
 

Additional Inherited Members

- Protected Member Functions inherited from playwright._impl._async_base.AsyncBase
Callable[..., None] _wrap_handler (self, Union[Callable[..., Any], Any] handler)
 
- Protected Attributes inherited from playwright._impl._async_base.AsyncBase
 _loop
 
- Protected Attributes inherited from playwright._impl._impl_to_api_mapping.ImplWrapper
 _impl_obj
 

Member Function Documentation

◆ accept()

None playwright.async_api._generated.Dialog.accept (   self,
typing.Optional[str]   prompt_text = None 
)
Dialog.accept

Returns when the dialog has been accepted.

Parameters
----------
prompt_text : Union[str, None]
    A text to enter in prompt. Does not cause any effects if the dialog's `type` is not prompt. Optional.

◆ default_value()

str playwright.async_api._generated.Dialog.default_value (   self)
Dialog.default_value

If dialog is prompt, returns default prompt value. Otherwise, returns empty string.

Returns
-------
str

◆ dismiss()

None playwright.async_api._generated.Dialog.dismiss (   self)
Dialog.dismiss

Returns when the dialog has been dismissed.

◆ message()

str playwright.async_api._generated.Dialog.message (   self)
Dialog.message

A message displayed in the dialog.

Returns
-------
str

◆ page()

typing.Optional["Page"] playwright.async_api._generated.Dialog.page (   self)
Dialog.page

The page that initiated this dialog, if available.

Returns
-------
Union[Page, None]

◆ type()

str playwright.async_api._generated.Dialog.type (   self)
Dialog.type

Returns dialog's type, can be one of `alert`, `beforeunload`, `confirm` or `prompt`.

Returns
-------
str

The documentation for this class was generated from the following file: