Ensure page is being loaded when taking screenshot

This is most likely relevant for angular based pages.
pull/3563/head
Stefan Botzenhart 9 years ago
parent 6aa957755c
commit b689007064
  1. 1
      features/step_definitions/web_steps.rb

@ -286,6 +286,7 @@ end
Then /^show me the page$/ do
# save_and_open_page
sleep 2 # sleep to ensure page has been fully loaded
save_and_open_screenshot
end

Loading…
Cancel
Save