Closed llpan-github closed 3 years ago
It seems Flutter driver does not support getPageSource
yet.
driver.execute('flutter: getRenderTree')
returns string, but this does not have a feature to convert the string into XML. So I guess the 501 returned.
Added a note in readme https://github.com/appium-flutter-driver/appium-flutter-driver/pull/176 as current limitation. (Feel free to create a pr to support it)
appium :v1.20.2 device : iphone se 13.7 Desired Capabilities: { "automationName": "flutter", "platformName": "iOS", "udid": "00008030-000644A80285802E", "platformVersion": "13.7", "deviceName": "Ly的iPhone", "bundleId": "com.yunzhanghu.ytt4mobile" } when i start session happen error log: [info] [35m[Appium][39m Welcome to Appium v1.20.2 [info] [35m[Appium][39m Non-default server args: [info] [35m[Appium][39m relaxedSecurityEnabled: true [info] [35m[Appium][39m allowInsecure: { [info] [35m[Appium][39m } [info] [35m[Appium][39m denyInsecure: { [info] [35m[Appium][39m } [info] [35m[Appium][39m Appium REST http interface listener started on 0.0.0.0:4723[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/sessions[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[GENERIC][39m Calling AppiumDriver.getSessions() with args: [] [debug] [35m[GENERIC][39m Responding to client with driver.getSessions() result: [] [info] [35m[HTTP][39m [37m<-- GET /wd/hub/sessions [39m[32m200[39m [90m5 ms - 40[39m [info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session[39m [info] [35m[HTTP][39m [90m{"desiredCapabilities":{"automationName":"flutter","bundleId":"com.yunzhanghu.ytt4mobile","deviceName":"Ly的iPhone","platformName":"iOS","platformVersion":"13.7","udid":"00008030-000644A80285802E","newCommandTimeout":0,"connectHardwareKeyboard":true}}[39m [debug] [35m[MJSONWP][39m Calling AppiumDriver.createSession() with args: [{"automationName":"flutter","bundleId":"com.yunzhanghu.ytt4mobile","deviceName":"Ly的iPhone","platformName":"iOS","platformVersion":"13.7","udid":"00008030-000644A80285802E","newCommandTimeout":0,"connectHardwareKeyboard":true},null,null] [debug] [35m[BaseDriver][39m Event 'newSessionRequested' logged at 1617183791893 (17:43:11 GMT+0800 (中国标准时间)) [info] [35m[Appium][39m Appium v1.20.2 creating new FlutterDriver (v0.0.25) session [info] [35m[Appium][39m Applying relaxed security to 'FlutterDriver' as per server command line argument. All insecure features will be enabled unless explicitly disabled by --deny-insecure [debug] [35m[BaseDriver][39m Creating session with MJSONWP desired capabilities: { [debug] [35m[BaseDriver][39m "automationName": "flutter", [debug] [35m[BaseDriver][39m "bundleId": "com.yunzhanghu.ytt4mobile", [debug] [35m[BaseDriver][39m "deviceName": "Ly的iPhone", [debug] [35m[BaseDriver][39m "platformName": "iOS", [debug] [35m[BaseDriver][39m "platformVersion": "13.7", [debug] [35m[BaseDriver][39m "udid": "00008030-000644A80285802E", [debug] [35m[BaseDriver][39m "newCommandTimeout": 0, [debug] [35m[BaseDriver][39m "connectHardwareKeyboard": true [debug] [35m[BaseDriver][39m } [warn] [35m[BaseDriver][39m The following capabilities were provided, but are not recognized by Appium: [warn] [35m[BaseDriver][39m bundleId [warn] [35m[BaseDriver][39m connectHardwareKeyboard [info] [35m[BaseDriver][39m Session created with session id: 00fa79f6-e9e5-4c09-95fd-69e0ad7ce772 [info] [35m[FlutterDriver][39m Starting an IOS proxy session [debug] [35m[BaseDriver][39m Creating session with MJSONWP desired capabilities: { [debug] [35m[BaseDriver][39m "automationName": "flutter", [debug] [35m[BaseDriver][39m "bundleId": "com.yunzhanghu.ytt4mobile", [debug] [35m[BaseDriver][39m "deviceName": "Ly的iPhone", [debug] [35m[BaseDriver][39m "platformName": "iOS", [debug] [35m[BaseDriver][39m "platformVersion": "13.7", [debug] [35m[BaseDriver][39m "udid": "00008030-000644A80285802E", [debug] [35m[BaseDriver][39m "newCommandTimeout": 0, [debug] [35m[BaseDriver][39m "connectHardwareKeyboard": true [debug] [35m[BaseDriver][39m } [info] [35m[BaseDriver][39m Session created with session id: e0a5647f-53cf-4b81-a356-be2e1adc1785[debug] [35m[XCUITest][39m Current user: 'llpan' [debug] [35m[XCUITest][39m Available devices: 00008030-000644A80285802E [debug] [35m[XCUITest][39m Creating iDevice object with udid '00008030-000644A80285802E' [info] [35m[XCUITest][39m Determining device to run tests on: udid: '00008030-000644A80285802E', real device: true [debug] [35m[BaseDriver][39m Event 'xcodeDetailsRetrieved' logged at 1617183792882 (17:43:12 GMT+0800 (中国标准时间)) [debug] [35m[BaseDriver][39m Event 'appConfigured' logged at 1617183792883 (17:43:12 GMT+0800 (中国标准时间)) [debug] [35m[BaseDriver][39m Event 'resetStarted' logged at 1617183792883 (17:43:12 GMT+0800 (中国标准时间)) [debug] [35m[XCUITest][39m Reset: running ios real device reset flow [debug] [35m[BaseDriver][39m Event 'resetComplete' logged at 1617183792883 (17:43:12 GMT+0800 (中国标准时间)) [info] [35m[WebDriverAgent][39m Using WDA path: '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent' [info] [35m[WebDriverAgent][39m Using WDA agent: '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj'[debug] [35m[XCUITest][39m Crash reports root '/Users/llpan/Library/Logs/CrashReporter/MobileDevice/Ly的iPhone' does not exist. Got nothing to gather. [debug] [35m[BaseDriver][39m Event 'logCaptureStarted' logged at 1617183793090 (17:43:13 GMT+0800 (中国标准时间)) [info] [35m[XCUITest][39m Setting up real device[debug] [35m[WebDriverAgent][39m No obsolete cached processes from previous WDA sessions listening on port 8100 have been found [info] [35m[DevCon Factory][39m Requesting connection for device 00008030-000644A80285802E on local port 8100, device port 8100 [debug] [35m[DevCon Factory][39m Cached connections count: 0 [info] [35m[DevCon Factory][39m Successfully requested the connection for 00008030-000644A80285802E:8100[debug] [35m[WebDriverAgent][39m Parsed BUILD_DIR configuration value: '/Users/llpan/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp/Build/Products' [debug] [35m[WebDriverAgent][39m Got derived data root: '/Users/llpan/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp' [debug] [35m[XCUITest][39m Starting WebDriverAgent initialization with the synchronization key '/Users/llpan/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp' [debug] [35m[WD Proxy][39m Matched '/status' to command name 'getStatus' [debug] [35m[WD Proxy][39m Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body [debug] [35m[WD Proxy][39m Got response with status 200: {"value":{"message":"WebDriverAgent is ready to accept commands","state":"success","os":{"testmanagerdVersion":28,"name":"iOS","sdkVersion":"13.4","version":"13.7"},"ios":{"ip":"192.168.110.136"},"ready":true,"build":{"time":"Mar 31 2021 17:31:08","productBundleIdentifier":"com.facebook.WebDriverAgentRunner"}},"sessionId":"597BAFE5-28C1-4E47-9D2B-1DE069C2EDD3"} [debug] [35m[WebDriverAgent][39m Upgrade timestamp of the currently bundled WDA: 1612946545000 [debug] [35m[WebDriverAgent][39m Upgrade timestamp of the WDA on the device: undefined [info] [35m[WebDriverAgent][39m Will reuse previously cached WDA instance at 'http://127.0.0.1:8100/' with 'com.facebook.WebDriverAgentRunner'. Set the wdaLocalPort capability to a value different from 8100 if this is an undesired behavior. [debug] [35m[XCUITest][39m Trying to start WebDriverAgent 1 times with 10000ms interval [debug] [35m[XCUITest][39m These values can be customized by changing wdaStartupRetries/wdaStartupRetryInterval capabilities [debug] [35m[BaseDriver][39m Event 'wdaStartAttempted' logged at 1617183794701 (17:43:14 GMT+0800 (中国标准时间)) [info] [35m[WebDriverAgent][39m Using provided WebdriverAgent at 'http://127.0.0.1:8100/' [debug] [35m[WD Proxy][39m Matched '/status' to command name 'getStatus' [debug] [35m[WD Proxy][39m Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body [debug] [35m[WD Proxy][39m Got response with status 200: {"value":{"message":"WebDriverAgent is ready to accept commands","state":"success","os":{"testmanagerdVersion":28,"name":"iOS","sdkVersion":"13.4","version":"13.7"},"ios":{"ip":"192.168.110.136"},"ready":true,"build":{"time":"Mar 31 2021 17:31:08","productBundleIdentifier":"com.facebook.WebDriverAgentRunner"}},"sessionId":"597BAFE5-28C1-4E47-9D2B-1DE069C2EDD3"} [debug] [35m[BaseDriver][39m Event 'wdaSessionAttempted' logged at 1617183794712 (17:43:14 GMT+0800 (中国标准时间)) [debug] [35m[XCUITest][39m Sending createSession command to WDA [debug] [35m[WD Proxy][39m Matched '/session' to command name 'createSession' [debug] [35m[WD Proxy][39m Proxying [POST /session] to [POST http://127.0.0.1:8100/session] with body: {"capabilities":{"firstMatch":[{"bundleId":"com.yunzhanghu.ytt4mobile","arguments":[],"environment":{},"eventloopIdleDelaySec":0,"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true}],"alwaysMatch":{}}}[debug] [35m[WD Proxy][39m Got response with status 200: {"value":{"sessionId":"31F94B32-1386-488F-A1F1-60C536E64237","capabilities":{"device":"iphone","browserName":"ytt_4_mobile","sdkVersion":"13.7","CFBundleIdentifier":"com.yunzhanghu.ytt4mobile"}},"sessionId":"31F94B32-1386-488F-A1F1-60C536E64237"} [info] [35m[WD Proxy][39m Determined the downstream protocol as 'W3C' [debug] [35m[BaseDriver][39m Event 'wdaSessionStarted' logged at 1617183797030 (17:43:17 GMT+0800 (中国标准时间)) [debug] [35m[BaseDriver][39m Event 'wdaStarted' logged at 1617183797030 (17:43:17 GMT+0800 (中国标准时间)) [info] [35m[XCUITest][39m Skipping setting of the initial display orientation. Set the "orientation" capability to either "LANDSCAPE" or "PORTRAIT", if this is an undesired behavior. [debug] [35m[BaseDriver][39m Event 'orientationSet' logged at 1617183797030 (17:43:17 GMT+0800 (中国标准时间)) [debug] [35m[BaseDriver][39m The value of 'elementResponseAttributes' setting did not change. Skipping the update for it [debug] [35m[BaseDriver][39m The value of 'shouldUseCompactResponses' setting did not change. Skipping the update for it [info] [35m[FlutterDriver][39m Running on iOS real device, doing "iproxy" now [debug] [35m[FlutterDriver][39m iproxy 57534 57534 -u 00008030-000644A80285802E [info] [35m[FlutterDriver][39m "iproxy" successfully [info] [35m[FlutterDriver][39m Attempt #1 [info] [35m[FlutterDriver][39m Connecting to Dart Observatory: ws://127.0.0.1:57534/lRUxRnUgz28=/ws [error] [35m[FlutterDriver][39m [object Object] [error] [35m[FlutterDriver][39m Check Dart Observatory URI ws://127.0.0.1:57534/lRUxRnUgz28=/ws [info] [35m[FlutterDriver][39m Waiting 5 seconds before trying...[info] [35m[FlutterDriver][39m Attempt #2 [info] [35m[FlutterDriver][39m Connecting to Dart Observatory: ws://127.0.0.1:57534/lRUxRnUgz28=/ws [info] [35m[FlutterDriver][39m Connected to ws://127.0.0.1:57534/lRUxRnUgz28=/ws [info] [35m[FlutterDriver][39m Listing all isolates: [{"type":"@Isolate","id":"isolates/1147050411640079","name":"main","number":"1147050411640079","isSystemIsolate":false}] [info] [35m[Appium][39m New FlutterDriver session created successfully, session 00fa79f6-e9e5-4c09-95fd-69e0ad7ce772 added to master session list [debug] [35m[BaseDriver][39m Event 'newSessionStarted' logged at 1617183802108 (17:43:22 GMT+0800 (中国标准时间)) [debug] [35m[MJSONWP (00fa79f6)][39m Cached the protocol value 'MJSONWP' for the new session 00fa79f6-e9e5-4c09-95fd-69e0ad7ce772 [debug] [35m[MJSONWP (00fa79f6)][39m Responding to client with driver.createSession() result: {"shell":false,"allowCors":false,"reboot":false,"ipa":null,"address":"0.0.0.0","port":4723,"basePath":"/wd/hub","keepAliveTimeout":null,"callbackAddress":null,"callbackPort":null,"bootstrapPort":4724,"backendRetries":3,"sessionOverride":false,"launch":false,"logFile":null,"loglevel":"debug","logTimestamp":false,"localTimezone":false,"logNoColors":false,"webhook":null,"safari":false,"defaultDevice":false,"forceIphone":false,"forceIpad":false,"automationTraceTemplatePath":null,"instrumentsPath":null,"nodeconfig":null,"robotAddress":"0.0.0.0","robotPort":-1,"chromedriverExecutable":null,"showConfig":false,"noPermsCheck":false,"enforceStrictCaps":false,"isolateSimDevice":false,"tmpDir":"/var/folders/bg/kb3x38y92r1gv4f2zbd1nhq80000gn/T","traceDir":null,"debugLogSpacing":false,"suppressKillServer":false,"longStacktrace":false,"webkitDebugProxyPort":27753,"wdaLocalPort":8100,"defaultCapabilities":{},"relaxedSecurityEnabled":true,"allowInsecure":[],"denyInsecure":[],"defaultCommandTimeout":60,"keepArtifacts":false... [info] [35m[HTTP][39m [37m<-- POST /wd/hub/session [39m[32m200[39m [90m10217 ms - 2157[39m [info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/00fa79f6-e9e5-4c09-95fd-69e0ad7ce772/contexts[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[MJSONWP (00fa79f6)][39m Calling AppiumDriver.getContexts() with args: ["00fa79f6-e9e5-4c09-95fd-69e0ad7ce772"] [debug] [35m[FlutterDriver][39m Executing Flutter driver command 'getContexts' [debug] [35m[XCUITest][39m Getting list of available contexts [debug] [35m[iOS][39m Retrieving contexts and views [debug] [35m[XCUITest][39m Selecting by url: false [info] [35m[RemoteDebugger][39m Remote Debugger version 8.13.2 [debug] [35m[RemoteDebugger][39m useNewSafari --> false [debug] [35m[RemoteDebugger][39m Checking which communication style to use (non-Safari on platform version '13.7') [debug] [35m[RemoteDebugger][39m Platform version equal or higher than '12.2': true [warn] [35m[RemoteDebugger][39m Setting communication protocol: using Target-based communication [debug] [35m[RemoteDebugger][39m Sending connection key request [debug] [35m[RemoteDebugger][39m Sending '_rpc_reportIdentifier:' message (id: 0): 'setConnectionKey' [debug] [35m[RemoteDebugger][39m Sending to Web Inspector took 3ms [debug] [35m[RemoteDebugger][39m Sending connection key request [debug] [35m[RemoteDebugger][39m Sending '_rpc_reportIdentifier:' message (id: 2): 'setConnectionKey'[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/00fa79f6-e9e5-4c09-95fd-69e0ad7ce772/context[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[MJSONWP (00fa79f6)][39m Calling AppiumDriver.getCurrentContext() with args: ["00fa79f6-e9e5-4c09-95fd-69e0ad7ce772"] [debug] [35m[FlutterDriver][39m Executing Flutter driver command 'getCurrentContext' [debug] [35m[MJSONWP (00fa79f6)][39m Responding to client with driver.getCurrentContext() result: "FLUTTER" [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/00fa79f6-e9e5-4c09-95fd-69e0ad7ce772/context [39m[32m200[39m [90m1 ms - 81[39m [info] [35m[HTTP][39m [90m[39m [info] [35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session/00fa79f6-e9e5-4c09-95fd-69e0ad7ce772/context[39m [info] [35m[HTTP][39m [90m{"name":"NATIVE_APP"}[39m [debug] [35m[MJSONWP (00fa79f6)][39m Calling AppiumDriver.setContext() with args: ["NATIVE_APP","00fa79f6-e9e5-4c09-95fd-69e0ad7ce772"] [debug] [35m[FlutterDriver][39m Executing Flutter driver command 'setContext' [debug] [35m[MJSONWP (00fa79f6)][39m Responding to client with driver.setContext() result: "NATIVE_APP" [info] [35m[HTTP][39m [37m<-- POST /wd/hub/session/00fa79f6-e9e5-4c09-95fd-69e0ad7ce772/context [39m[32m200[39m [90m1 ms - 84[39m [info] [35m[HTTP][39m [90m[39m [info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/00fa79f6-e9e5-4c09-95fd-69e0ad7ce772[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[MJSONWP (00fa79f6)][39m Calling AppiumDriver.getSession() with args: ["00fa79f6-e9e5-4c09-95fd-69e0ad7ce772"] [debug] [35m[FlutterDriver][39m Executing proxied driver command 'getSession' [debug] [35m[XCUITest][39m Executing command 'getSession' [debug] [35m[WD Proxy][39m Matched '/' to command name 'getSession' [debug] [35m[WD Proxy][39m Proxying [GET /] to [GET http://127.0.0.1:8100/session/31F94B32-1386-488F-A1F1-60C536E64237] with no body [debug] [35m[WD Proxy][39m Got response with status 200: {"value":{"sessionId":"31F94B32-1386-488F-A1F1-60C536E64237","capabilities":{"device":"iphone","browserName":"ytt_4_mobile","sdkVersion":"13.7","CFBundleIdentifier":"com.yunzhanghu.ytt4mobile"}},"sessionId":"31F94B32-1386-488F-A1F1-60C536E64237"} [debug] [35m[WD Proxy][39m Proxying [GET /wda/screen] to [GET http://127.0.0.1:8100/session/31F94B32-1386-488F-A1F1-60C536E64237/wda/screen] with no body[debug] [35m[WD Proxy][39m Got response with status 200: {"value":{"statusBarSize":{"width":375,"height":20},"scale":2},"sessionId":"31F94B32-1386-488F-A1F1-60C536E64237"} [debug] [35m[WD Proxy][39m Proxying [GET /window/size] to [GET http://127.0.0.1:8100/session/31F94B32-1386-488F-A1F1-60C536E64237/window/size] with no body [debug] [35m[WD Proxy][39m Got response with status 200: {"value":{"width":375,"height":667},"sessionId":"31F94B32-1386-488F-A1F1-60C536E64237"} [info] [35m[XCUITest][39m Merging WDA caps over Appium caps for session detail response [debug] [35m[MJSONWP (00fa79f6)][39m Responding to client with driver.getSession() result: {"udid":"00008030-000644A80285802E","automationName":"flutter","bundleId":"com.yunzhanghu.ytt4mobile","deviceName":"Ly的iPhone","platformName":"iOS","platformVersion":"13.7","newCommandTimeout":0,"connectHardwareKeyboard":true,"device":"iphone","browserName":"ytt_4_mobile","sdkVersion":"13.7","CFBundleIdentifier":"com.yunzhanghu.ytt4mobile","pixelRatio":2,"statBarHeight":20,"viewportRect":{"left":0,"top":40,"width":750,"height":1294}} [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/00fa79f6-e9e5-4c09-95fd-69e0ad7ce772 [39m[32m200[39m [90m281 ms - 511[39m [info] [35m[HTTP][39m [90m[39m [info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/00fa79f6-e9e5-4c09-95fd-69e0ad7ce772/window/current/size[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[MJSONWP (00fa79f6)][39m Calling AppiumDriver.getWindowSize() with args: ["current","00fa79f6-e9e5-4c09-95fd-69e0ad7ce772"] [debug] [35m[FlutterDriver][39m Executing proxied driver command 'getWindowSize' [debug] [35m[XCUITest][39m Executing command 'getWindowSize' [debug] [35m[WD Proxy][39m Proxying [GET /window/size] to [GET http://127.0.0.1:8100/session/31F94B32-1386-488F-A1F1-60C536E64237/window/size] with no body [debug] [35m[WD Proxy][39m Got response with status 200: {"value":{"width":375,"height":667},"sessionId":"31F94B32-1386-488F-A1F1-60C536E64237"} [debug] [35m[MJSONWP (00fa79f6)][39m Responding to client with driver.getWindowSize() result: {"width":375,"height":667} [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/00fa79f6-e9e5-4c09-95fd-69e0ad7ce772/window/current/size [39m[32m200[39m [90m54 ms - 98[39m [info] [35m[HTTP][39m [90m[39m [info] [35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session/00fa79f6-e9e5-4c09-95fd-69e0ad7ce772/execute[39m [info] [35m[HTTP][39m [90m{"script":"mobile:getContexts","args":[]}[39m [debug] [35m[MJSONWP (00fa79f6)][39m Calling AppiumDriver.execute() with args: ["mobile:getContexts",[],"00fa79f6-e9e5-4c09-95fd-69e0ad7ce772"] [debug] [35m[FlutterDriver][39m Executing proxied driver command 'execute' [debug] [35m[XCUITest][39m Executing command 'execute' [debug] [35m[XCUITest][39m Getting list of available contexts [debug] [35m[iOS][39m Retrieving contexts and views [debug] [35m[XCUITest][39m Selecting by url: false [debug] [35m[RemoteDebugger][39m Sending connection key request [debug] [35m[RemoteDebugger][39m Sending '_rpc_reportIdentifier:' message (id: 4): 'setConnectionKey' [debug] [35m[RemoteDebugger][39m Sending to Web Inspector took 3ms [debug] [35m[RemoteDebugger][39m Selecting application [debug] [35m[RemoteDebugger][39m No applications currently connected. [debug] [35m[XCUITest][39m No web frames found. [debug] [35m[XCUITest][39m No webviews found in 4ms [debug] [35m[MJSONWP (00fa79f6)][39m Responding to client with driver.execute() result: [{"id":"NATIVE_APP"}] [info] [35m[HTTP][39m [37m<-- POST /wd/hub/session/00fa79f6-e9e5-4c09-95fd-69e0ad7ce772/execute [39m[32m200[39m [90m5 ms - 93[39m [info] [35m[HTTP][39m [90m[39m [info] [35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session/00fa79f6-e9e5-4c09-95fd-69e0ad7ce772/context[39m [info] [35m[HTTP][39m [90m{"name":"FLUTTER"}[39m [debug] [35m[MJSONWP (00fa79f6)][39m Calling AppiumDriver.setContext() with args: ["FLUTTER","00fa79f6-e9e5-4c09-95fd-69e0ad7ce772"] [debug] [35m[FlutterDriver][39m Executing Flutter driver command 'setContext' [debug] [35m[MJSONWP (00fa79f6)][39m Responding to client with driver.setContext() result: "FLUTTER" [info] [35m[HTTP][39m [37m<-- POST /wd/hub/session/00fa79f6-e9e5-4c09-95fd-69e0ad7ce772/context [39m[32m200[39m [90m1 ms - 81[39m [info] [35m[HTTP][39m [90m[39m [info] [35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session/00fa79f6-e9e5-4c09-95fd-69e0ad7ce772/execute[39m [info] [35m[HTTP][39m [90m{"script":"return (function e(t){const{platformName:e,statBarHeight:r}=t,o=\"android\"===e.toLowerCase(),i=o?window.devicePixelRatio:1,a=o?56:50,d=window.screen.height-window.innerHeight-r;return r+(d>=0&&d-a<0?d:a)i}).apply(null, arguments);","args":[{"platformName":"iOS","statBarHeight":20}]}[39m [debug] [35m[MJSONWP (00fa79f6)][39m Calling AppiumDriver.execute() with args: ["return (function e(t){const{platformName:e,statBarHeight:r}=t,o=\"android\"===e.toLowerCase(),i=o?window.devicePixelRatio:1,a=o?56:50,d=window.screen.height-window.innerHeight-r;return r+(d>=0&&d-a<0?d:a)i}).apply(null, arguments);",[{"platformName":"iOS","statBarHeight":20}],"00fa79f6-e9e5-4c09-95fd-69e0ad7ce772"] [debug] [35m[FlutterDriver][39m Executing Flutter driver command 'execute' [debug] [35m[MJSONWP (00fa79f6)][39m Encountered internal error running command: Error: Command not support: "return (function e(t){const{platformName:e,statBarHeight:r}=t,o="android"===e.toLowerCase(),i=o?window.devicePixelRatio:1,a=o?56:50,d=window.screen.height-window.innerHeight-r;return r+(d>=0&&d-a<0?d:a)*i}).apply(null, arguments);" [debug] [35m[MJSONWP (00fa79f6)][39m at FlutterDriver.exports.execute (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/lib/commands/execute.ts:15:11) [debug] [35m[MJSONWP (00fa79f6)][39m at commandExecutor (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/node_modules/appium-base-driver/lib/basedriver/driver.js:330:9) [debug] [35m[MJSONWP (00fa79f6)][39m at /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/async-lock/lib/index.js:129:12 [debug] [35m[MJSONWP (00fa79f6)][39m at AsyncLock._promiseTry (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/async-lock/lib/index.js:253:31) [debug] [35m[MJSONWP (00fa79f6)][39m at exec (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/async-lock/lib/index.js:128:9) [debug] [35m[MJSONWP (00fa79f6)][39m at AsyncLock.acquire (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/async-lock/lib/index.js:144:3) [debug] [35m[MJSONWP (00fa79f6)][39m at FlutterDriver.executeCommand (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/node_modules/appium-base-driver/lib/basedriver/driver.js:343:39) [debug] [35m[MJSONWP (00fa79f6)][39m at FlutterDriver.executeCommand (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/lib/driver.ts:123:22) [debug] [35m[MJSONWP (00fa79f6)][39m at AppiumDriver.executeCommand (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/lib/appium.js:547:36) [debug] [35m[MJSONWP (00fa79f6)][39m at runMicrotasks ()
[debug] [35m[MJSONWP (00fa79f6)][39m at processTicksAndRejections (internal/process/task_queues.js:85:5)
[debug] [35m[MJSONWP (00fa79f6)][39m at asyncHandler (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:297:21)
[info] [35m[HTTP][39m [37m<-- POST /wd/hub/session/00fa79f6-e9e5-4c09-95fd-69e0ad7ce772/execute [39m[31m500[39m [90m22 ms - 428[39m
[info] [35m[HTTP][39m [90m[39m
[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/00fa79f6-e9e5-4c09-95fd-69e0ad7ce772/source[39m
[info] [35m[HTTP][39m [90m{}[39m
[debug] [35m[MJSONWP (00fa79f6)][39m Calling AppiumDriver.getPageSource() with args: ["00fa79f6-e9e5-4c09-95fd-69e0ad7ce772"]
[debug] [35m[FlutterDriver][39m Executing Flutter driver command 'getPageSource'
[debug] [35m[MJSONWP (00fa79f6)][39m Encountered internal error running command: NotYetImplementedError: Method has not yet been implemented
[debug] [35m[MJSONWP (00fa79f6)][39m at FlutterDriver.executeCommand (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/node_modules/appium-base-driver/lib/basedriver/driver.js:323:13)
[debug] [35m[MJSONWP (00fa79f6)][39m at FlutterDriver.executeCommand (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-flutter-driver/lib/driver.ts:123:22)
[debug] [35m[MJSONWP (00fa79f6)][39m at AppiumDriver.executeCommand (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/lib/appium.js:547:36)
[debug] [35m[MJSONWP (00fa79f6)][39m at runMicrotasks ()
[debug] [35m[MJSONWP (00fa79f6)][39m at processTicksAndRejections (internal/process/task_queues.js:85:5)
[debug] [35m[MJSONWP (00fa79f6)][39m at asyncHandler (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:297:21)
[info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/00fa79f6-e9e5-4c09-95fd-69e0ad7ce772/source [39m[31m501[39m [90m2 ms - 123[39m
[info] [35m[HTTP][39m [90m[39m
[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/00fa79f6-e9e5-4c09-95fd-69e0ad7ce772/screenshot[39m
[info] [35m[HTTP][39m [90m{}[39m
[debug] [35m[MJSONWP (00fa79f6)][39m Calling AppiumDriver.getScreenshot() with args: ["00fa79f6-e9e5-4c09-95fd-69e0ad7ce772"]
[debug] [35m[FlutterDriver][39m Executing Flutter driver command 'getScreenshot'[debug] [35m[MJSONWP (00fa79f6)][39m Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAAAu4AAAU2CAYAAADK1zMGAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAACAASURBVHic7N13nF1Vuf/xz1p779NmMiWTMpNCekIIJIReIoIgiooFUfSCgNiwcFUs8BO8ysWGIuK9Kih4aeoVUC6ChaYovfdAQnrvmUxm5pRd1vr9sc85c86UNIbMJHner9e8Zs4+u6xzSML3rHnWs1XHiUdYhBBCCCHEoGW7/2zBYrHFx9aCwWKK3yMLkbVE1hJaCK1la0eeXD4o72MAY+Pv3Y+3lvK5jbVVY6gci+r+XYFCoQBdfKxRXd8BnfFwEy6eUrjlL3CVwik+dhQ4xcca0MVtCoVWxXMXz6t6jCPeXqnbwz2WO9ADEEIIIYQQb55SsM3UJIks5PNB1XZFzzDefVa3e2i3fexX/lShFAbQFoyyaKvi7yhMNiAESFTG0G2MQqn4kwUKR1mMjdO6xkLx58ojFBZrq8N7abx7OgnuQgghhBB7kF4Dcy/7dA+qCkjXJDBYCvmgeI7qs+3IuXubee9xrJXw/maQ4C6EEEIIsQfrCqs9A7tSCoWNt9v4uVQmQWQtfiEsH9995r37z9DX7Hrxx27BOd4o4b2/SXAXQgghhNgD9RqoFWCLYV11hXUFVY9TmQQGCPJhfLwCZRVKWZRV2GLY721Wvcc1ixskvL/5JLgLIYQQQuzh4jxbMbteCuLFx+WFoeWFnZBMJzAWbCGMA27pXMXjKYZ8lMLa3oN8lYrwXr1dwnt/keAuhBBCCDHI9QjNxZn1bdWnd820xwFeEwdnTfFLQSLjYa3F+mHc+aUYqJVVWGVRxRNqpcrdZcqz7n2sYrWVO5W3S3jvDxLchRBCCCH2MH3VoHefbS8F7njWPQ7gGnAAAzgWvGLZjPVLNe9dJTOlq9hergO95vb4ud5m3yW8v2ES3IUQQggh9gB91ZyXA3xlfTtdNe0asChsMdQ6gLHF8K7i717GAyyRH5Xr4HXx...
[info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/00fa79f6-e9e5-4c09-95fd-69e0ad7ce772/screenshot [39m[32m200[39m [90m140 ms - 291118[39m
[info] [35m[HTTP][39m [90m[39m