Exception: Playwright::TargetClosedError
- Defined in:
- lib/playwright/errors.rb
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(message: nil, stack: []) ⇒ TargetClosedError
constructor
A new instance of TargetClosedError.
Methods inherited from Error
Constructor Details
#initialize(message: nil, stack: []) ⇒ TargetClosedError
Returns a new instance of TargetClosedError.
56 57 58 59 |
# File 'lib/playwright/errors.rb', line 56 def initialize(message: nil, stack: []) = || 'Target page, context or browser has been closed' super(name: 'TargetClosedError', message: , stack: stack) end |