{"action":"closed","issue":{"url":"https://api.github.com/repos/appium/appium/issues/10837","repository_url":"https://api.github.com/repos/appium/appium","labels_url":"https://api.github.com/repos/appium/appium/issues/10837/labels{/name}","comments_url":"https://api.github.com/repos/appium/appium/issues/10837/comments","events_url":"https://api.github.com/repos/appium/appium/issues/10837/events","html_url":"https://github.com/appium/appium/issues/10837","id":331067274,"node_id":"MDU6SXNzdWUzMzEwNjcyNzQ=","number":10837,"title":"Android: Unable to connect to Chrome webview","user":{"login":"mayureshshirodkar","id":8971420,"node_id":"MDQ6VXNlcjg5NzE0MjA=","avatar_url":"https://avatars3.githubusercontent.com/u/8971420?v=4","gravatar_id":"","url":"https://api.github.com/users/mayureshshirodkar","html_url":"https://github.com/mayureshshirodkar","followers_url":"https://api.github.com/users/mayureshshirodkar/followers","following_url":"https://api.github.com/users/mayureshshirodkar/following{/other_user}","gists_url":"https://api.github.com/users/mayureshshirodkar/gists{/gist_id}","starred_url":"https://api.github.com/users/mayureshshirodkar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mayureshshirodkar/subscriptions","organizations_url":"https://api.github.com/users/mayureshshirodkar/orgs","repos_url":"https://api.github.com/users/mayureshshirodkar/repos","events_url":"https://api.github.com/users/mayureshshirodkar/events{/privacy}","received_events_url":"https://api.github.com/users/mayureshshirodkar/received_events","type":"User","site_admin":false},"labels":[{"id":474876872,"node_id":"MDU6TGFiZWw0NzQ4NzY4NzI=","url":"https://api.github.com/repos/appium/appium/labels/NeedsInfo","name":"NeedsInfo","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-06-11T07:04:04Z","updated_at":"2018-06-11T09:50:06Z","closed_at":"2018-06-11T09:50:05Z","author_association":"NONE","body":"## The problem\r\n\r\nSince upgrading to Appium 1.8.2 Beta, i am unable to connect to Chrome webview.\r\nAppium tries to look for com.google.android.webview package but the chromedriver is at version 2.39 resulting in compatibility error.\r\n\r\nMy Chrome browser version on device is 67.0. - As required.\r\nAndroid Webview version-55.0.2883 - Less than required.\r\n\r\nI tried to update the Android Webview app, but it showed as disabled and there was no option to update it on Google Playstore.\r\n\r\nI googled this up and looks like Chrome will become webview in Android 7-\r\nHere's the reference- https://www.androidpolice.com/2016/07/20/google-explains-chrome-will-become-webview-android-7-0/\r\n\r\n## Environment\r\n\r\n* Appium version (or git revision) that exhibits the issue: 1.8.2 Beta\r\n* Last Appium version that did not exhibit the issue (if applicable):\r\n* Desktop OS/version used to run Appium: 10.13.4\r\n* Node.js version (unless using Appium.app|exe): \r\n* Mobile platform/version under test: Android 7.0\r\n* Real device or emulator/simulator: Moto G4\r\n\r\n## Details\r\nAdding snippet of the error here.Detailed log below.\r\n```\r\n[HTTP] --> POST /wd/hub/session/a321fca7-a52a-4a66-b7ac-4caa96334a4b/context\r\n[HTTP] {\"name\":\"WEBVIEW_com.eab.se\"}\r\n[debug] [W3C] Calling AppiumDriver.setContext() with args: [\"WEBVIEW_com.eab.se\",\"a321fca7-a52a-4a66-b7ac-4caa96334a4b\"]\r\n[debug] [AndroidDriver] Getting a list of available webviews\r\n[debug] [ADB] Getting connected devices...\r\n[debug] [ADB] 1 device(s) connected\r\n[debug] [ADB] Running '/Applications/adt-bundle-mac-x86_64-20140702/sdk/platform-tools/adb -P 5037 -s ZY223DDFLZ shell cat /proc/net/unix'\r\n[debug] [AndroidDriver] WEBVIEW_25224 mapped to pid 25224\r\n[debug] [AndroidDriver] Getting process name for webview\r\n[debug] [ADB] Getting connected devices...\r\n[debug] [ADB] 1 device(s) connected\r\n[debug] [ADB] Running '/Applications/adt-bundle-mac-x86_64-20140702/sdk/platform-tools/adb -P 5037 -s ZY223DDFLZ shell ps'\r\n[debug] [AndroidDriver] Parsed pid: '25224' pkg: 'com.eab.se' from\r\n[debug] [AndroidDriver]     USER      PID   PPID  VSIZE  RSS   WCHAN            PC  NAME\r\n[debug] [AndroidDriver]     u0_a812   25224 585   1207384 103516 SyS_epoll_ 00000000 S com.eab.se\r\n[debug] [AndroidDriver] Returning process name: 'com.eab.se'\r\n[debug] [AndroidDriver] Found webviews: [\"WEBVIEW_chrome\",\"WEBVIEW_com.eab.se\"]\r\n[debug] [AndroidDriver] Available contexts: [\"NATIVE_APP\",\"WEBVIEW_chrome\",\"WEBVIEW_com.eab.se\"]\r\n[debug] [AndroidDriver] Connecting to chrome-backed webview context 'WEBVIEW_com.eab.se'\r\n[debug] [AndroidDriver] A port was not given, using random port: 8000\r\n[debug] [Chromedriver] Changed state to 'starting'\r\n[debug] [Chromedriver] The following Chromedriver executables were found:\r\n[debug] [Chromedriver]     /usr/local/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac/chromedriver (minimum Chrome version '66.0.3359')\r\n[debug] [ADB] Getting package info for 'com.google.android.webview'\r\n[debug] [ADB] Getting connected devices...\r\n[debug] [ADB] 1 device(s) connected\r\n**[debug] [ADB] Running '/Applications/adt-bundle-mac-x86_64-20140702/sdk/platform-tools/adb -P 5037 -s ZY223DDFLZ shell dumpsys package com.google.android.webview'\r\n[debug] [Chromedriver] Found Chrome bundle 'com.google.android.webview' version '55.0.2883'\r\n[Chromedriver] Error: No Chromedriver found that can automate Chrome '55.0.2883'. See https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/web/chromedriver.md for more details.**\r\n[Chromedriver]     at Object.wrappedLogger.errorAndThrow (/usr/local/lib/node_modules/appium/node_modules/appium-support/lib/logging.js:78:13)\r\n[Chromedriver]     at Chromedriver.getCompatibleChromedriver$ (/usr/local/lib/node_modules/appium/node_modules/appium-chromedriver/lib/chromedriver.js:228:11)\r\n[Chromedriver]     at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)\r\n[Chromedriver]     at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)\r\n[Chromedriver]     at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)\r\n[Chromedriver]     at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)\r\n[Chromedriver]     at <anonymous>\r\n[Chromedriver] Error: No Chromedriver found that can automate Chrome '55.0.2883'. See https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/web/chromedriver.md for more details.\r\n[Chromedriver]     at Object.wrappedLogger.errorAndThrow (/usr/local/lib/node_modules/appium/node_modules/appium-support/lib/logging.js:78:13)\r\n[Chromedriver]     at Chromedriver.getCompatibleChromedriver$ (/usr/local/lib/node_modules/appium/node_modules/appium-chromedriver/lib/chromedriver.js:228:11)\r\n[Chromedriver]     at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)\r\n[Chromedriver]     at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)\r\n[Chromedriver]     at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)\r\n[Chromedriver]     at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)\r\n[Chromedriver]     at <anonymous>\r\n[W3C] Encountered internal error running command: Error: No Chromedriver found that can automate Chrome '55.0.2883'. See https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/web/chromedriver.md for more details.\r\n[W3C]     at Object.wrappedLogger.errorAndThrow (/usr/local/lib/node_modules/appium/node_modules/appium-support/lib/logging.js:78:13)\r\n[W3C]     at Chromedriver.getCompatibleChromedriver$ (/usr/local/lib/node_modules/appium/node_modules/appium-chromedriver/lib/chromedriver.js:228:11)\r\n[W3C]     at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)\r\n[W3C]     at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)\r\n[W3C]     at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)\r\n[W3C]     at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)\r\n[W3C]     at <anonymous>\r\n[HTTP] <-- POST /wd/hub/session/a321fca7-a52a-4a66-b7ac-4caa96334a4b/context 500 404 ms - 1438\r\n\r\n```\r\n## Link to Appium logs\r\n\r\nDetailed Log- https://gist.github.com/mayureshshirodkar/269a5aeed8aaa23de07735bd3b513b98\r\n"}}
{"actor":{"display_login":"mykola-mokhnach"}}