@eko-ai/eko 2.1.5 → 2.1.6

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.
package/dist/index.esm.js CHANGED
@@ -19440,6 +19440,7 @@ class Eko {
19440
19440
  return await this.doRunWorkflow(context);
19441
19441
  }
19442
19442
  catch (e) {
19443
+ Log.error("execute error", e);
19443
19444
  return {
19444
19445
  taskId,
19445
19446
  success: false,
@@ -20508,6 +20509,7 @@ function run_build_dom_tree() {
20508
20509
  */
20509
20510
  function get_clickable_elements(doHighlightElements = true, includeAttributes) {
20510
20511
  window.clickable_elements = {};
20512
+ document.querySelectorAll("[eko-user-highlight-id]").forEach(ele => ele.removeAttribute("eko-user-highlight-id"));
20511
20513
  let page_tree = build_dom_tree(doHighlightElements);
20512
20514
  let element_tree = parse_node(page_tree);
20513
20515
  let selector_map = create_selector_map(element_tree);