Similar situation in the Appium Server log as before in the normal Appium log:
First 281 lines are identical, ending with this:
```
...
2018-10-01 13:26:30:209 - [debug] [MJSONWP] Calling AppiumDriver.findElement()
with args: ["xpath","//android.widget.Button[translate(@text, \"alow\",
\"ALOW\")=\"ALLOW\"]","2e31ca5a-b13c-4abe-af4b-5e94c0b560c1"]
2018-10-01 13:26:30:210 - [debug] [BaseDriver] Valid locator strategies for
this request: xpath, id, class name, accessibility id, -android uiautomator
2018-10-01 13:26:30:211 - [debug] [BaseDriver] Valid locator strategies for
this request: xpath, id, class name, accessibility id, -android uiautomator
2018-10-01 13:26:30:211 - [debug] [BaseDriver] Waiting up to 0 ms for condition
2018-10-01 13:26:30:215 - [debug] [AndroidBootstrap] Sending command to
android:
{"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//android.widget.Button[translate(@text,
\"alow\", \"ALOW\")=\"ALLOW\"]","context":"","multiple":false}}
2018-10-01 13:26:30:217 - [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data
from client:
{"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//android.widget.Button[translate(@text,
\"alow\", \"ALOW\")=\"ALLOW\"]","context":"","multiple":false}}
2018-10-01 13:26:30:217 - [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got
command of type ACTION
2018-10-01 13:26:30:218 - [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got
command action: find
2018-10-01 13:26:30:218 - [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding
'//android.widget.Button[translate(@text, "alow", "ALOW")="ALLOW"]' using
'XPATH' with the contextId: '' multiple: false
```
then our failing run is just this:
```
2018-10-01 13:31:30:186 - [HTTP] <-- POST
/wd/hub/session/2e31ca5a-b13c-4abe-af4b-5e94c0b560c1/element - - ms - -
2018-10-01 13:31:30:326 - [HTTP] --> POST
/wd/hub/session/2e31ca5a-b13c-4abe-af4b-5e94c0b560c1/context
{"name":"WEBVIEW_io.cordova.hellocordova"}
2018-10-01 13:31:30:327 - [debug] [MJSONWP] Calling AppiumDriver.setContext()
with args:
["WEBVIEW_io.cordova.hellocordova","2e31ca5a-b13c-4abe-af4b-5e94c0b560c1"]
```
(note the 5 minutes time difference here - so just _nothing_ happened for 5
minutes)
while the succeeding one continues:
```2018-10-01 13:52:46:540 - [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using:
UiSelector[CLASS=android.widget.Button, INSTANCE=1]
2018-10-01 13:52:46:542 - [debug] [AndroidBootstrap] Received command result
from bootstrap
2018-10-01 13:52:46:544 - [debug] [MJSONWP] Responding to client with
driver.findElement() result: {"ELEMENT":"1"}
2018-10-01 13:52:46:544 - [HTTP] <-- POST
/wd/hub/session/36a4d6ba-50d0-4135-8adb-5bd90b912d45/element 200 29 ms - 87
2018-10-01 13:52:46:545 - [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning
result: {"status":0,"value":{"ELEMENT":"1"}}
2018-10-01 13:52:47:176 - [HTTP] --> POST
/wd/hub/session/36a4d6ba-50d0-4135-8adb-5bd90b912d45/element/1/click {}
2018-10-01 13:52:47:176 - [debug] [MJSONWP] Calling AppiumDriver.click() with
args: ["1","36a4d6ba-50d0-4135-8adb-5bd90b912d45"]
2018-10-01 13:52:47:177 - [debug] [AndroidBootstrap] Sending command to
android: {"cmd":"action","action":"element:click","params":{"elementId":"1"}}
2018-10-01 13:52:47:178 - [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data
from client:
{"cmd":"action","action":"element:click","params":{"elementId":"1"}}
2018-10-01 13:52:47:181 - [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got
command of type ACTION
2018-10-01 13:52:47:181 - [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got
command action: click
2018-10-01 13:52:50:282 - [debug] [AndroidBootstrap] Received command result
from bootstrap
2018-10-01 13:52:50:284 - [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning
result: {"status":0,"value":true}
2018-10-01 13:52:50:284 - [debug] [MJSONWP] Responding to client with
driver.click() result: true
2018-10-01 13:52:50:285 - [HTTP] <-- POST
/wd/hub/session/36a4d6ba-50d0-4135-8adb-5bd90b912d45/element/1/click 200 3109
ms - 76
2018-10-01 13:52:50:841 - [HTTP] --> POST
/wd/hub/session/36a4d6ba-50d0-4135-8adb-5bd90b912d45/context
{"name":"WEBVIEW_io.cordova.hellocordova"}
2018-10-01 13:52:50:842 - [debug] [MJSONWP] Calling AppiumDriver.setContext()
with args:
["WEBVIEW_io.cordova.hellocordova","36a4d6ba-50d0-4135-8adb-5bd90b912d45"]
2018-10-01 13:52:50:842 - [debug] [AndroidDriver] Getting a list of available
webviews
2018-10-01 13:52:50:843 - [debug] [ADB] Getting connected devices...
2018-10-01 13:52:50:852 - [debug] [ADB] 1 device(s) connected
2018-10-01 13:52:50:852 - [debug] [ADB] Running
'/home/chef/android-sdk-linux/platform-tools/adb' with args:
["-P",5037,"-s","emulator-5554","shell","cat","/proc/net/unix"]
2018-10-01 13:52:50:863 - [debug] [AndroidDriver] WEBVIEW_3775 mapped to pid
3775
2018-10-01 13:52:50:864 - [debug] [AndroidDriver] Getting process name for
webview
2018-10-01 13:52:50:864 - [debug] [ADB] Getting connected devices...
2018-10-01 13:52:50:870 - [debug] [ADB] 1 device(s) connected
2018-10-01 13:52:50:870 - [debug] [ADB] Running
'/home/chef/android-sdk-linux/platform-tools/adb' with args:
["-P",5037,"-s","emulator-5554","shell","ps"]
2018-10-01 13:52:50:887 - [debug] [AndroidDriver] Parsed pid: 3775 pkg:
io.cordova.hellocordova!
2018-10-01 13:52:50:887 - [debug] [AndroidDriver] from:
u0_a72,3775,1361,2355300,113052,ep_poll,0000000000,S,io.cordova.hellocordova
2018-10-01 13:52:50:889 - [debug] [AndroidDriver] returning process name:
io.cordova.hellocordova
2018-10-01 13:52:50:889 - [debug] [AndroidDriver] Found webviews:
["WEBVIEW_io.cordova.hellocordova"]
2018-10-01 13:52:50:890 - [debug] [AndroidDriver] Available contexts:
["NATIVE_APP","WEBVIEW_io.cordova.hellocordova"]
2018-10-01 13:52:50:890 - [debug] [AndroidDriver] Connecting to chrome-backed
webview context 'WEBVIEW_io.cordova.hellocordova'
...
```
(here it continues right away)
[ Full content available at:
https://github.com/apache/cordova-plugin-inappbrowser/issues/307 ]
This message was relayed via gitbox.apache.org for [email protected]