src/vs/platform/driver/electron-main/driver.ts/Driver/getTerminalBuffer
class Driver:	async getTerminalBuffer(windowId: number, selector: string): Promise<string[]> {
		const windowDriver = await this.getWindowDriver(windowId);
		return await windowDriver.getTerminalBuffer(selector);
	}