Class: Capybara::Playwright::Node::Checkbox
- Defined in:
- lib/capybara/playwright/node.rb
Instance Method Summary collapse
Methods inherited from Settable
Constructor Details
This class inherits a constructor from Capybara::Playwright::Node::Settable
Instance Method Details
#set(value, **options) ⇒ Object
231 232 233 234 235 236 237 |
# File 'lib/capybara/playwright/node.rb', line 231 def set(value, **) if value @element.check(timeout: @timeout) else @element.uncheck(timeout: @timeout) end end |