checkly / headless-recorder

Chrome extension that records your browser interactions and generates a Playwright or Puppeteer script.
https://checklyhq.com/headless-recorder
MIT License
15.03k stars 722 forks source link

fix escaping of backslash in selector #126

Closed honey-dip closed 3 years ago

honey-dip commented 3 years ago

Pull Request Template

Description

This patch fixes CodeGenerator.__parseEvents so that it works with backslash within selector. (issue: #110 )

Type of change

How Has This Been Tested?

New test code was added for this change.

Checklist:

ianaya89 commented 3 years ago

@honey-dip thanks a lot for your contribution. I will be testing it and get back to you soon 💯

ianaya89 commented 3 years ago

@honey-dip this is working fine and will be part of our next release. Thanks again for your contribution 👌