automation_model 1.0.44 → 1.0.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -252,7 +252,7 @@ class StableBrowser {
252
252
  try {
253
253
  let foundText = await this.getText(selector, _params, options, info);
254
254
  let escapedText = text.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
255
- let pattern = pattern.replace("{text}", escapedText);
255
+ pattern = pattern.replace("{text}", escapedText);
256
256
  let regex = new RegExp(pattern);
257
257
  if (!regex.test(foundText)) {
258
258
  info.foundText = foundText;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "automation_model",
3
- "version": "1.0.44",
3
+ "version": "1.0.45",
4
4
  "description": "An automation infrastructure module to be use for generative AI automation projects.",
5
5
  "main": "bin/index.js",
6
6
  "type": "module",