mirror of
https://github.com/budtmo/docker-android.git
synced 2026-04-25 12:15:52 +03:00
[GH-ISSUE #2] ChromeDriver not working #1
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/docker-android#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @andrcuns on GitHub (May 3, 2017).
Original GitHub issue: https://github.com/budtmo/docker-android/issues/2
Hi,
Great project, just what I was looking for to support our mobile testing with emulator.
One issue is that libgconf-2.so.4 is missing for chromedriver to work. Please consider adding libgconf-2-4 to installed packages for it to work.
@budtmo commented on GitHub (May 3, 2017):
Hi @andrcuns,
Chromedriver is available only for android version 7.0 and 7.1.1. please try with one of those versions and let me know if you still need anything else.
btw, I have a simple UI test that is written in python for mobile website testing with chrome browser: https://github.com/butomo1989/docker-android/blob/master/example/android/python/msite_simple_chrome.py
@andrcuns commented on GitHub (May 3, 2017):
I was trying it out with 7.1.1, selenium version 3.4.0 and java and chromedriver fails with libgconf-2.so.4 missing. I rebuilt the image locally with added libgconf-2-4 library and it works fine afterwards.
I can reproduce the problem and post appium log if necessary.
@budtmo commented on GitHub (May 3, 2017):
thank you @andrcuns. it will be great if you can post the log and steps how you reproduce the problem here.
@andrcuns commented on GitHub (May 3, 2017):
Maybe I am missing something but had to actually fight a bit to copy the output of Appium server since doesn't look like VNC shares the clipboard and couldn't find where it is stored in some log files :D
Images tested:
butomo1989/docker-android-x86-7.1.1
butomo1989/docker-android-x86-6.0
most likely other as well.
Following appium client is used:
io.appium:java-client:4.1.2
Following capabilities are set:
Following scenario is executed:
Given user is on some web page
Following exception is thrown:
Proposed solution:
Installing libgconf-2-4 seems to fix the problem.
@budtmo commented on GitHub (May 3, 2017):
thank you @andrcuns. I will install libgconf-2-4 in the next release, if you want, you can create PR for it. :D
@andrcuns commented on GitHub (May 3, 2017):
Sure, should be a pretty small PR :)
@budtmo commented on GitHub (May 4, 2017):
fixed in #3.
release tag: https://github.com/butomo1989/docker-android/releases/tag/0.4