Skip to content

Commit f205fb6

Browse files
committed
Clarify browsers driven by Capybara drivers
1 parent 0e066a4 commit f205fb6

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

spec/support/capybara_driver_resolver.rb

+5-6
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,12 @@
44
# with descriptive names related to the underlying browser's HTML5 support.
55
module CapybaraDriverResolver
66

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]
7+
FIREFOX_DRIVERS = [:selenium_billy, :selenium]
8+
CHROME_DRIVERS = [:selenium_chrome_billy]
9+
PHANTOMJS_DRIVERS = [:poltergeist_billy, :poltergeist]
1010

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]
11+
WITH_NATIVE_DATE_INPUT = PHANTOMJS_DRIVERS + CHROME_DRIVERS
12+
WITHOUT_NATIVE_DATE_INPUT = FIREFOX_DRIVERS
1413

1514
def driver_with(options)
1615

0 commit comments

Comments
 (0)