The User-Agent HTTP header identifies the client and is sent by "regular" browsers, ... In Rack::Test , you can set your user agent like this on Capybara:.
確定! 回上一頁