Class: Playwright::ConsoleMessage
- Inherits:
-
PlaywrightApi
- Object
- PlaywrightApi
- Playwright::ConsoleMessage
- Defined in:
- lib/playwright_api/console_message.rb
Overview
‘ConsoleMessage` objects are dispatched by page via the [`event: Page.console`] event.
Instance Method Summary collapse
- #args ⇒ Object
- #location ⇒ Object
- #text ⇒ Object
- #type ⇒ Object
-
#type_text ⇒ Object
One of the following values: ‘’log’‘, `’debug’‘, `’info’‘, `’error’‘, `’warning’‘, `’dir’‘, `’dirxml’‘, `’table’‘, `’trace’‘, `’clear’‘, `’startGroup’‘, `’startGroupCollapsed’‘, `’endGroup’‘, `’assert’‘, `’profile’‘, `’profileEnd’‘, `’count’‘, `’timeEnd’‘.
Methods inherited from PlaywrightApi
Instance Method Details
#args ⇒ Object
5 6 7 |
# File 'lib/playwright_api/console_message.rb', line 5 def args wrap_channel_owner(@channel_owner.args) end |
#location ⇒ Object
9 10 11 |
# File 'lib/playwright_api/console_message.rb', line 9 def location wrap_channel_owner(@channel_owner.location) end |
#text ⇒ Object
13 14 15 |
# File 'lib/playwright_api/console_message.rb', line 13 def text wrap_channel_owner(@channel_owner.text) end |
#type ⇒ Object
25 26 27 |
# File 'lib/playwright_api/console_message.rb', line 25 def type wrap_channel_owner(@channel_owner.type) end |
#type_text ⇒ Object
One of the following values: ‘’log’‘, `’debug’‘, `’info’‘, `’error’‘, `’warning’‘, `’dir’‘, `’dirxml’‘, `’table’‘, `’trace’‘, `’clear’‘, `’startGroup’‘, `’startGroupCollapsed’‘, `’endGroup’‘, `’assert’‘, `’profile’‘, `’profileEnd’‘, `’count’‘, `’timeEnd’‘.
20 21 22 |
# File 'lib/playwright_api/console_message.rb', line 20 def type_text raise NotImplementedError.new('type_text is not implemented yet.') end |