scriptonia

My name is Alexander Korsak. I am a software developer from Belarus.
Jan 25 '12

capybara-webkit is hanging on requests like ‘http://localhost/#/posts/new’

Hi, everyone!

if someone will have issue with hanging browser on steps like


visit "http://localhost/#/posts/new"

You can replace this steps with the next following code and it works for me in capybara-webkit 0.8.0


def visit_script url
  page.execute_script("window.location = '#{url}'")
end

View comments Tags: capybara capybara-webkit js bdd tests

Blog comments powered by Disqus