polyfills for cross browser support
Do you have a legacy app designed for chrome and suddenly you have to support multiple browsers like IE10+, Firefox and Chrome. Then you will have to use polyfill library. There are few options for polyfill libraries.
1 : Shadow-DOM
- Does not wrap the original DOM with a wrapper. Hence, it allows the selenium automation to work nicely with internet explorer.
2 : Polyfill-io
- Library does the browser detection work & fetches necessary polyfills when needed
- Highly configurable
- Allows featuer detection, meaning you download polyfill only when needed
- Does not interfere with existing application