Chrome has been able to use source maps in its error dumps
since forever (well, version 39, at least). This means, that instead of having an error print
https://localhost:56962/bundle.js 94:74996 TypeError: Cannot read property 'map' of undefined
I can get
./src/redux/employee/employee-reducer.js 20:16 TypeError: Cannot read property 'map' of undefined
This is the case when debugging normally in the browser. When I run our Selenium tests, this does not happen. Instead I get the oh-not-so-useful
09:27:09.540 [main] ERROR gui.rule.ScreenshotRule - Chrome console: SEVERE https://localhost:56962/bundle.js 94:74996 TypeError: Cannot read property 'map' of undefined
Is there a way of instructing ChromeDriver to enable source mapping?
Regards
Carl-Erik