Skip to content

Commit 818f069

Browse files
committed
print pagesource for debugging
1 parent 5905bff commit 818f069

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"appium",
66
"flutter"
77
],
8-
"version": "1.0.0-beta.7",
8+
"version": "1.0.0-beta.8",
99
"author": "",
1010
"license": "MIT License",
1111
"repository": {

src/driver.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,9 @@ export class AppiumFlutterDriver extends BaseDriver<FlutterDriverConstraints> {
212212

213213
// HACK for eliminatin socket hang up by waiting 1 sec
214214
await new Promise((r) => setTimeout(r, 1000));
215-
215+
// @ts-ignore
216+
console.log('PageSource', await this.proxydriver.getPageSource());
217+
// @ts-ignore
216218
this.proxy = new JWProxy({
217219
server: '127.0.0.1',
218220
port: this.flutterPort,

0 commit comments

Comments
 (0)