Module: Capybara::ElementDropPathCompatPatch

Defined in:
lib/capybara/playwright/node.rb

Overview

Instance Method Summary collapse

Instance Method Details

#drop(*args) ⇒ Object



203
204
205
206
207
# File 'lib/capybara/playwright/node.rb', line 203

def drop(*args)
  options = args.map { |arg| arg.respond_to?(:to_path) ? arg.to_path : arg }
  synchronize { base.drop(*options) }
  self
end