File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 4
4
# with descriptive names related to the underlying browser's HTML5 support.
5
5
module CapybaraDriverResolver
6
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 ]
7
+ FIREFOX_DRIVERS = [ :selenium_billy , :selenium ]
8
+ CHROME_DRIVERS = [ :selenium_chrome_billy ]
9
+ PHANTOMJS_DRIVERS = [ :poltergeist_billy , :poltergeist ]
10
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 ]
11
+ WITH_NATIVE_DATE_INPUT = PHANTOMJS_DRIVERS + CHROME_DRIVERS
12
+ WITHOUT_NATIVE_DATE_INPUT = FIREFOX_DRIVERS
14
13
15
14
def driver_with ( options )
16
15
You can’t perform that action at this time.
0 commit comments