We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e066a4 commit f205fb6Copy full SHA for f205fb6
spec/support/capybara_driver_resolver.rb
@@ -4,13 +4,12 @@
4
# with descriptive names related to the underlying browser's HTML5 support.
5
module CapybaraDriverResolver
6
7
- # At time of writing: These drivers wrap phantomjs or chrome and they both support
8
- # native date inputs.
9
- WITH_NATIVE_DATE_INPUT = [:poltergeist_billy, :poltergeist, :selenium_chrome_billy]
+ FIREFOX_DRIVERS = [:selenium_billy, :selenium]
+ CHROME_DRIVERS = [:selenium_chrome_billy]
+ PHANTOMJS_DRIVERS = [:poltergeist_billy, :poltergeist]
10
11
- # At time of writing: These drivers wrap Firefox browsers that don't support native
12
- # date inputs.
13
- WITHOUT_NATIVE_DATE_INPUT = [:selenium_billy, :selenium]
+ WITH_NATIVE_DATE_INPUT = PHANTOMJS_DRIVERS + CHROME_DRIVERS
+ WITHOUT_NATIVE_DATE_INPUT = FIREFOX_DRIVERS
14
15
def driver_with(options)
16
0 commit comments