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

java - is not an enclosing class / new Intent Cannot Resolve Constructor -

python - Error importing VideoFileClip from moviepy : AttributeError: 'PermissionError' object has no attribute 'message' -

shared memory - gstreamer shmsrc and shmsink with h264 data -