Open GoogleCodeExporter opened 9 years ago
Unfortunately we don't have the setup to reproduce errors that arise when using
Appium. Are you able to reproduce this using just ChromeDriver and Selenium
WebDriver? If so, please let us know how to reproduce the issue and attach a
log file.
Original comment by samu...@chromium.org
on 22 May 2014 at 8:30
Thanks for your answer!
Actually this is reproducible without Appium.
I attached a simple test which tries to take a screenshot and fails.
Kind regards,
Philipp
Original comment by philipp.kastner@gmail.com
on 20 Jun 2014 at 1:06
Attachments:
Not working for me either (not using Appium), Selenium 2.42.2/ChromeDriver
2.10. See issue #770.
Original comment by holm...@gmail.com
on 24 Jun 2014 at 10:02
[deleted comment]
Was trying to capture screenshot of webpage opened in default browser on
Android 4.4.2 emulator. Same problem.
Error message:
unknown error: unhandled inspector error: {"code":-32603,"message":"Unable to
capture screenshot"}
(Session info: webview=)
(Driver info: chromedriver=2.10.267517,platform=Mac OS X 10.9.4 x86_64)
Original comment by Ari...@gmail.com
on 14 Sep 2014 at 3:42
{\"message\":\"unknown error: unhandled inspector error:
{\\\"code\\\":-32603,\\\"message\\\":\\\"Unable to capture screenshot\\\"}\\n
(Session info: webview=)\\n (Driver info:
chromedriver=2.10.267517,platform=Linux 3.13.0-32-generic x86)\"
Selenium version 2.43.1
Original comment by olexandr...@gmail.com
on 11 Nov 2014 at 10:42
Same for me with Appium + android emulator
org.openqa.selenium.WebDriverException: unknown error: unhandled inspector
error: {"code":-32603,"message":"Unable to capture screenshot"}
(Session info: webview=)
(Driver info: chromedriver=2.10.267517,platform=Mac OS X 10.9.5 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 68 milliseconds
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: os.name: 'Linux', os.arch: 'amd64', os.version:
'3.2.0-75-generic', java.version: '1.7.0_75'
Session ID: 92bf3080cda15bafc7131b5b66835110
Driver info: org.openqa.selenium.remote.RemoteWebDriver
Capabilities [{platform=ANDROID, acceptSslCerts=true, javascriptEnabled=true,
browserName=chrome, chrome={}, rotatable=false, locationContextEnabled=true,
version=, takesHeapSnapshot=true, cssSelectorsEnabled=true,
databaseEnabled=false, handlesAlerts=true, browserConnectionEnabled=false,
webStorageEnabled=true, nativeEvents=true, applicationCacheEnabled=false,
takesScreenshot=true}]
Original comment by vkchary...@gmail.com
on 6 Feb 2015 at 1:35
[deleted comment]
can you replace stock chromedriver to current 2.14
C:\Appium\node_modules\appium\build\chromedriver\windows
Original comment by andrewch...@chromium.org
on 6 Feb 2015 at 7:47
I have tried chrome driver 2.14 no luck
Original comment by vkchary...@gmail.com
on 7 Feb 2015 at 6:11
For Window 7, I did Appium + android real devices(Nexus 7) (I have problem install chrome in emulator). it will take screen shot, and send PNG file back.
both with and without Appium are working.
please see the following Appium log .
> info: [debug] Spawning chromedriver with:
C:\Appium\node_modules\appium\build\chromedriver\windows\chromedriver.exe
> info: [debug] [CHROMEDRIVER] Starting ChromeDriver 2.13.310558
(338b8f87ef1a0e0d8b0b0ae8848162df152f1032) on port 9515
> Only local connections are allowed.
> info: [debug] Making http request with opts:
{"url":"http://127.0.0.1:9515/wd/hub/session","method":"POST","json":{"sessionId
":null,"desiredCapabilities":{"chromeOptions":{"androidPackage":"com.android.chr
ome","androidDeviceSerial":"05dcd256"}}}}
> info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
> info: [debug] [BOOTSTRAP] [debug] Got command action: getDataDir
> info: [debug] [BOOTSTRAP] [debug] Returning result:
{"value":"\/data\/local\/tmp","status":0}
> info: [debug] Successfully started chrome session
86226a7d5700ceafc9ae1f7c103fab41
> info: [debug] Overriding session id with "86226a7d5700ceafc9ae1f7c103fab41"
> info: [debug] Device launched! Ready for commands
> info: [debug] Setting command timeout to the default of 60 secs
> info: [debug] Appium session started with sessionId
86226a7d5700ceafc9ae1f7c103fab41
> info: <-- POST /wd/hub/session 303 17965.377 ms - 9
> info: --> GET /wd/hub/session/86226a7d5700ceafc9ae1f7c103fab41 {}
> info: [debug] Proxying command to 127.0.0.1:9515
> info: [debug] Making http request with opts:
{"url":"http://127.0.0.1:9515/wd/hub/session/86226a7d5700ceafc9ae1f7c103fab41","
method":"GET"}
> info: [debug] Proxied response received with status 200:
"{\"sessionId\":\"86226a7d5700ceafc9ae1f7c103fab41\",\"status\":0,\"value\":{\"a
cceptSslCerts\":true,\"applicationCacheEnabled\":false,\"browserConnectionEnable
d\":false,\"browserName\":\"chrome\",\"chrome\":{},\"cssSelectorsEnabled\":true,
\"databaseEnabled\":false,\"handlesAlerts\":true,\"javascriptEnabled\":true,\"lo
cationContextEnabled\":true,\"mobileEmulationEnabled\":false,\"nativeEvents\":tr
ue,\"platform\":\"ANDROID\",\"rotatable\":false,\"takesHeapSnapshot\":true,\"tak
esScreenshot\":true,\"version\":\"40.0.2214.109\",\"webStorageEnabled\":true}}"
> info: <-- GET /wd/hub/session/86226a7d5700ceafc9ae1f7c103fab41 200 3.779 ms -
507
> info: --> POST /wd/hub/session/86226a7d5700ceafc9ae1f7c103fab41/url
{"url":"http://screencast.com/t/vfg7vJa0I"}
> info: [debug] Proxying command to 127.0.0.1:9515
> info: [debug] Making http request with opts:
{"url":"http://127.0.0.1:9515/wd/hub/session/86226a7d5700ceafc9ae1f7c103fab41/ur
l","method":"POST","json":{"url":"http://screencast.com/t/vfg7vJa0I"}}
> info: [debug] Proxied response received with status 200:
{"sessionId":"86226a7d5700ceafc9ae1f7c103fab41","status":0,"value":null}
> info: <-- POST /wd/hub/session/86226a7d5700ceafc9ae1f7c103fab41/url 200
3532.060 ms - 72
> info: --> GET /wd/hub/session/86226a7d5700ceafc9ae1f7c103fab41/screenshot {}
> info: [debug] Proxying command to 127.0.0.1:9515
> info: [debug] Making http request with opts:
{"url":"http://127.0.0.1:9515/wd/hub/session/86226a7d5700ceafc9ae1f7c103fab41/sc
reenshot","method":"GET"}
> info: [debug] Proxied response received with status 200:
"{\"sessionId\":\"86226a7d5700ceafc9ae1f7c103fab41\",\"status\":0,\"value\":\"iV
BORw0KGgoAAAANSUhEUgAABLAAAAYuCAIAAADUsEKCAAAgAEl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rVbD6qlut9tgMGAYhgFMJpOpelXf7v82MjJyxYoVhYWFXC5Xo9Ec2L+/bNkyRYQCDn350uWjR4
8uXrx4xYrb7Q5Ha2ur2+X2mV4en5+dlbV0WdlDDz3U39//9ddfnzx5EmAYh8uF1VAY1we67P6bqrEzLY
PdxHB8pmXLlsnl8g8//PC7784KhUIulxuwT4fDcfjw4ezs7Pz8vKSkpK6uLtgyOytr/fr1Q0NDe/bsqa
> info: <-- GET /wd/hub/session/86226a7d5700ceafc9ae1f7c103fab41/screenshot 200
17932.230 ms - 678306
> info: --> DELETE /wd/hub/session/86226a7d5700ceafc9ae1f7c103fab41 {}
> info: Shutting down appium session
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"shutdown"}
> info: [debug] [BOOTSTRAP] [debug] Got command of type SHUTDOWN
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":"OK, shutting
down","status":0}
> info: [debug] [BOOTSTRAP] [debug] Closed client connection
> info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: numtests=1
> info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=.
> info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS:
id=UiAutomatorTestRunner
> info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: test=testRunServer
> info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS:
class=io.appium.android.bootstrap.Bootstrap
> info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: current=1
> info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: 0
> info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=
> info: [debug] [UIAUTOMATOR STDOUT] Test results for WatcherResultPrinter=.
> info: [debug] [UIAUTOMATOR STDOUT] Time: 30.465
> info: [debug] [UIAUTOMATOR STDOUT] OK (1 test)
> info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: -1
> info: [debug] Sent shutdown command, waiting for UiAutomator to stop...
> info: [debug] UiAutomator shut down normally
Original comment by andrewch...@chromium.org
on 9 Feb 2015 at 10:56
Tested on Linux with stock chromedriver (2.10)
It will take screen shoot successfully. The result is the same as I did for
window 7
info: [debug] Spawning chromedriver with:
/usr/local/lib/node_modules/appium/build/chromedriver/linux/chromedriver64
info: [debug] [CHROMEDRIVER] Starting ChromeDriver (v2.10.267518) on port 9515
Only local connections are allowed.
info: [debug] Making http request with opts:
{"url":"http://127.0.0.1:9515/wd/hub/session","method":"POST","json":{"sessionId
":null,"desiredCapabilities":{"chromeOptions":{"androidPackage":"com.android.chr
ome","androidDeviceSerial":"05dcd256"}}}}
info: [debug] [CHROMEDRIVER STDERR] [3.569][WARNING]: PAC support disabled
because there is no system implementation
info: [debug] Successfully started chrome session
dfecfbd049dac135c49103a4545d81e2
info: [debug] Overriding session id with "dfecfbd049dac135c49103a4545d81e2"
info: [debug] Device launched! Ready for commands
info: [debug] Setting command timeout to the default of 60 secs
info: [debug] Appium session started with sessionId
dfecfbd049dac135c49103a4545d81e2
Original comment by andrewch...@chromium.org
on 10 Feb 2015 at 12:23
Original comment by samu...@chromium.org
on 21 Feb 2015 at 12:18
Please test with correct package:-
chromeOptions.setExperimentalOption("androidPackage", "com.android.chrome");
OR
chromeOptions.setExperimentalOption("androidPackage",
"org.chromium.chrome.shell");
chromium build can be found here.
[http://commondatastorage.googleapis.com/chromium-browser-continuous/index.html?
prefix=Android/]
this package with chromedriver may have issues (as reported in one of the above
comment)
options.setExperimentalOption("androidPackage", "com.android.browser");
please let me know, if this resolve the problem.
Original comment by agau...@chromium.org
on 23 Mar 2015 at 1:37
Issue 770 has been merged into this issue.
Original comment by agau...@chromium.org
on 24 Mar 2015 at 11:48
Original comment by nyerrami...@chromium.org
on 26 Mar 2015 at 4:28
philipp.kastner
please try with latest versions and using sample code provided in comment #14
and and let us know if you are able to reproduce the issue.
Original comment by ssudunag...@chromium.org
on 25 May 2015 at 8:59
Cannot try with
chromeOptions.setExperimentalOption("androidPackage", "com.android.chrome");
The issue is we are not able to capture the screenshot when we execute the code
on android native browser. For chrome browser this may work. We want results on
com.android.browser app package.
Original comment by ms.khush...@gmail.com
on 10 Jun 2015 at 9:26
Original issue reported on code.google.com by
philipp.kastner@gmail.com
on 13 May 2014 at 2:47