Skip to content

Commit dcd7270

Browse files
committed
fixed instrumentation correlation in template as it used the old one in crawler
1 parent 2198c01 commit dcd7270

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

web_workbench/templates/extract_win_scraper_template.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
'''
55
from model_extraction import base_extractor, configuration
66
from model_extraction.ui import window_scrap
7+
from model_extraction.correlator import Correlator
78

89
def ignore_comboboxes(extractor, node, world):
910
'''
@@ -38,5 +39,6 @@ def ignore_comboboxes(extractor, node, world):
3839

3940
extractor.crawl_application()
4041
#Following lines will associate the events collected with the performed user actions (edge executions)
41-
extractor.crawler.correlate_events()
42-
extractor.project.graph.save_nodes()
42+
correlator = Correlator(extractor.world, extractor.crawler.timeline)
43+
correlator.correlate_events()
44+
extractor.project.graph.save_nodes()

0 commit comments

Comments
 (0)