@@ -40,7 +40,7 @@ export class Recorder implements InstrumentationListener, IRecorder {
4040 readonly handleSIGINT : boolean | undefined ;
4141 private _context : BrowserContext ;
4242 private _mode : Mode ;
43- private _highlightedElement : { selector ?: string , ariaSnapshot ?: ParsedYaml } = { } ;
43+ private _highlightedElement : { selector ?: string , ariaTemplate ?: ParsedYaml } = { } ;
4444 private _overlayState : OverlayState = { offsetX : 0 } ;
4545 private _recorderApp : IRecorderApp | null = null ;
4646 private _currentCallsMetadata = new Map < CallMetadata , SdkObject > ( ) ;
@@ -107,8 +107,8 @@ export class Recorder implements InstrumentationListener, IRecorder {
107107 if ( data . event === 'highlightRequested' ) {
108108 if ( data . params . selector )
109109 this . setHighlightedSelector ( this . _currentLanguage , data . params . selector ) ;
110- if ( data . params . ariaSnapshot )
111- this . setHighlightedAriaSnapshot ( data . params . ariaSnapshot ) ;
110+ if ( data . params . ariaTemplate )
111+ this . setHighlightedAriaTemplate ( data . params . ariaTemplate ) ;
112112 return ;
113113 }
114114 if ( data . event === 'step' ) {
@@ -169,7 +169,7 @@ export class Recorder implements InstrumentationListener, IRecorder {
169169 mode : this . _mode ,
170170 actionPoint,
171171 actionSelector,
172- ariaTemplate : this . _highlightedElement . ariaSnapshot ,
172+ ariaTemplate : this . _highlightedElement . ariaTemplate ,
173173 language : this . _currentLanguage ,
174174 testIdAttributeName : this . _contextRecorder . testIdAttributeName ( ) ,
175175 overlay : this . _overlayState ,
@@ -245,8 +245,8 @@ export class Recorder implements InstrumentationListener, IRecorder {
245245 this . _refreshOverlay ( ) ;
246246 }
247247
248- setHighlightedAriaSnapshot ( ariaSnapshot : ParsedYaml ) {
249- this . _highlightedElement = { ariaSnapshot } ;
248+ setHighlightedAriaTemplate ( ariaTemplate : ParsedYaml ) {
249+ this . _highlightedElement = { ariaTemplate } ;
250250 this . _refreshOverlay ( ) ;
251251 }
252252
0 commit comments