We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e958dc commit 7b2c8b8Copy full SHA for 7b2c8b8
lib/appium-driver.ts
@@ -579,7 +579,7 @@ export class AppiumDriver {
579
}
580
581
public async source() {
582
- return await this._webio.source();
+ return await this._driver.source();
583
584
585
public async sessionId() {
@@ -714,7 +714,7 @@ export class AppiumDriver {
714
715
const path = resolvePath(this._args.reportsPath, fileName);
716
const xml = await this.source();
717
- writeFileSync(path, xml.value, 'utf8');
+ writeFileSync(path, xml, 'utf8');
718
719
720
public async logDeviceLog(fileName, logType: LogType, filter: string = undefined) {
0 commit comments