Sha256: 0a37d928717eac7d7c6cb5aeee3f7d3d480473dae44bf9f6a17842f189bebe2c

Contents?: true

Size: 425 Bytes

Versions: 16

Compression:

Stored size: 425 Bytes

Contents

Then /^I should be able to submit the form$/ do
  @element.submit
end

When /^I locate the form by "([^\"]*)"$/ do |how|
  @element = @page.send "form_#{how}_element"
end

When /^I locate the form using "([^"]*)" and "([^"]*)"$/ do |param1, param2|
  @element = @page.send "form_#{param1}_#{param2}_element"
end

When /^I locate a form while the script is executing$/ do
  @element = @page.form_element(:id => 'form_id')
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
page-object-0.6 features/step_definitions/form_steps.rb
page-object-0.5.5 features/step_definitions/form_steps.rb
page-object-0.5.4 features/step_definitions/form_steps.rb
page-object-0.5.3 features/step_definitions/form_steps.rb
page-object-0.5.2 features/step_definitions/form_steps.rb
page-object-0.5.1 features/step_definitions/form_steps.rb
page-object-0.5.0 features/step_definitions/form_steps.rb
page-object-0.4.4 features/step_definitions/form_steps.rb
page-object-0.4.3 features/step_definitions/form_steps.rb
page-object-0.4.2 features/step_definitions/form_steps.rb
page-object-0.4.1 features/step_definitions/form_steps.rb
page-object-0.4.0 features/step_definitions/form_steps.rb
page-object-0.3.2 features/step_definitions/form_steps.rb
page-object-0.3.1 features/step_definitions/form_steps.rb
page-object-0.3.0 features/step_definitions/form_steps.rb
page-object-0.2.5 features/step_definitions/form_steps.rb