Sha256: b9d7d4eb87b8936fa8cfebeb2152c34dae2b5a639583ac4c074eb0fb40cede9f

Contents?: true

Size: 434 Bytes

Versions: 16

Compression:

Stored size: 434 Bytes

Contents

When /^I get the text from the span$/ do
  @text = @page.span_id
end

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

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

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

Version data entries

16 entries across 16 versions & 1 rubygems

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