【发布时间】:2012-08-13 07:22:47
【问题描述】:
我知道,为了让 capybara 访问外部 url,驱动程序必须是支持它的驱动程序(例如 selenium)。但是当使用 selenium 时,我不能再通过 page.response_headers 检查内容类型,因为 selenium 驱动程序不支持。 response_headers 有什么替代方法,还是我只是看错了工具集?
【问题讨论】:
标签: testing selenium rspec cross-domain capybara