Is it possible to test other applications like https://www.google.com using capybara in Rails? -


i new write test case in rails. possible write test cases test other applications https://www.google.com using capybara in rails ?

capybara uses racktest default, believe cannot access external urls. if change drive i.e selenium should able access external url:

capybara.current_driver = :selenium visit 'https://www.google.com' 

it can used web crawling.


Comments

Popular posts from this blog

c++ - CPP, 'X' button listener -

shared memory - gstreamer shmsrc and shmsink with h264 data -

.net - Bulk insert via Dapper is slower than inserting rows one-by-one -