Sha256: 4549544007f562fb0ea0a56026abc9a2b33d67bd4ccbec25e99b84401fb0838f

Contents?: true

Size: 440 Bytes

Versions: 12

Compression:

Stored size: 440 Bytes

Contents

When /^I get the text from the paragraph$/ do
  @text = @page.p_id
end

When /^I search for the paragraph by "([^"]*)"$/ do |how|
  @text = @page.send "p_#{how}".to_sym
end

When /^I search for the paragraph by "([^"]*)" and "([^"]*)"$/ do |param1, param2|
  @text = @page.send "p_#{param1}_#{param2}"
end

When /^I get the text from a paragraph while the script is executing$/ do
  @text = @page.paragraph_element(:id => 'p_id').text
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
page-object-0.6 features/step_definitions/paragraph_steps.rb
page-object-0.5.5 features/step_definitions/paragraph_steps.rb
page-object-0.5.4 features/step_definitions/paragraph_steps.rb
page-object-0.5.3 features/step_definitions/paragraph_steps.rb
page-object-0.5.2 features/step_definitions/paragraph_steps.rb
page-object-0.5.1 features/step_definitions/paragraph_steps.rb
page-object-0.5.0 features/step_definitions/paragraph_steps.rb
page-object-0.4.4 features/step_definitions/paragraph_steps.rb
page-object-0.4.3 features/step_definitions/paragraph_steps.rb
page-object-0.4.2 features/step_definitions/paragraph_steps.rb
page-object-0.4.1 features/step_definitions/paragraph_steps.rb
page-object-0.4.0 features/step_definitions/paragraph_steps.rb