mirror of
				https://github.com/microsoft/playwright.git
				synced 2025-06-26 21:40:17 +00:00 
			
		
		
		
	chore: wire sourcesChanged event to the ProtocolHandler (#18044)
https://github.com/microsoft/playwright/issues/18043
This commit is contained in:
		
							parent
							
								
									a60073d664
								
							
						
					
					
						commit
						693ed9b19e
					
				| @ -93,6 +93,9 @@ class ProtocolHandler { | |||||||
|     this._controller.on(DebugController.Events.InspectRequested, ({ selector, locators }) => { |     this._controller.on(DebugController.Events.InspectRequested, ({ selector, locators }) => { | ||||||
|       process.send!({ method: 'inspectRequested', params: { selector, locators } }); |       process.send!({ method: 'inspectRequested', params: { selector, locators } }); | ||||||
|     }); |     }); | ||||||
|  |     this._controller.on(DebugController.Events.SourcesChanged, sources => { | ||||||
|  |       process.send!({ method: 'sourcesChanged', params: { sources } }); | ||||||
|  |     }); | ||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|   async resetForReuse() { |   async resetForReuse() { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Max Schmitt
						Max Schmitt