mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-15 06:02:57 +03: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 }) => {
|
||||
process.send!({ method: 'inspectRequested', params: { selector, locators } });
|
||||
});
|
||||
this._controller.on(DebugController.Events.SourcesChanged, sources => {
|
||||
process.send!({ method: 'sourcesChanged', params: { sources } });
|
||||
});
|
||||
}
|
||||
|
||||
async resetForReuse() {
|
||||
|
Loading…
Reference in New Issue
Block a user