Skip to content

Commit 7b2c8b8

Browse files
author
Zdravko
authored
fix: xml source generation (#249)
1 parent 8e958dc commit 7b2c8b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/appium-driver.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ export class AppiumDriver {
579579
}
580580

581581
public async source() {
582-
return await this._webio.source();
582+
return await this._driver.source();
583583
}
584584

585585
public async sessionId() {
@@ -714,7 +714,7 @@ export class AppiumDriver {
714714

715715
const path = resolvePath(this._args.reportsPath, fileName);
716716
const xml = await this.source();
717-
writeFileSync(path, xml.value, 'utf8');
717+
writeFileSync(path, xml, 'utf8');
718718
}
719719

720720
public async logDeviceLog(fileName, logType: LogType, filter: string = undefined) {

0 commit comments

Comments
 (0)