automation_model 1.0.56 → 1.0.57

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.
@@ -217,7 +217,7 @@ class StableBrowser {
217
217
  foundText = await this.getText(selector, _params, options, info);
218
218
  let escapedText = text.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
219
219
  pattern = pattern.replace("{text}", escapedText);
220
- let regex = new RegExp(pattern);
220
+ let regex = new RegExp(pattern, "m");
221
221
  if (!regex.test(foundText)) {
222
222
  info.foundText = foundText;
223
223
  throw new Error("element doesn't contain text " + text);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "automation_model",
3
- "version": "1.0.56",
3
+ "version": "1.0.57",
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",