Lightning Autofill v12.14.0 released
Highlights in this update:
-
You can now export selected profiles to CSV. Here’s how to do this:
- Open Form Fields tab / Profiles dropdown / “Manage”.
- Select the profiles you want to export (you can Ctrl-click to select individual profiles).
- Click the Export button.
(I played around with adding a new Export checkbox column to the Form Fields table, but it decreased the rendering performance of large tables, so I dropped that idea.)
-
You are now warned whenever you manually add/edit rules and use a regular expressions (regex) reserved character in the Name column. A common cause of failure in custom autofill rules that you add yourself is when you’re trying to match a field name containing a regex reserved character such as
[and]and forgetting to escape it with a backslash (\) in your rule. For example, in the Name column you enterlist[0].hostname(bad) instead oflist\[0\].hostname(good). The dot (.) is also a reserved regex character, but since it matches any character except a line break, in most cases you don’t need to escape it. If you get tired of seeing these warnings, you can suppress them by disabling the new “Regex warnings” option in Settings / Interface. -
You can now target form elements using XPaths. Here’s how to get an element’s XPath:
- Right-click on the element and select “Inspect”.
- Right-click on the element’s HTML code in the Elements panel and select “Copy” / “Copy XPath” or “Copy full XPath”.
-
The profile name’s character limit has been increased from 60 to 120 characters.
Changelog:
- Added ability to export selected profiles
- Added warnings for unescaped regex in Name & Site
- Added option to suppress regex warnings
- Added support for XPath to match form fields
- Improved regex validation in Form Fields tab
- Increased profile name character limit to 120
- Fixed button states in Manage Profiles
- Fixed badge count JS error in some cases
- Fixed Save button not enabled after editing