For this exact reason I made an extension for chrome that covers some of it's features:
https://chrome.google.com/webstore/detail/e2e-test-builder/p...
I'd rather tag elements of interest and record (and adjust manually) than write everything in code.