class Capybara::Playwright::Node::SendKeys::TypeText

Public Class Methods

new(text) click to toggle source
# File lib/capybara/playwright/node.rb, line 599
def initialize(text)
  @text = text
end

Public Instance Methods

execute_for(element) click to toggle source
# File lib/capybara/playwright/node.rb, line 603
def execute_for(element)
  element.type(@text)
end