Open mikk150 opened 5 years ago
@mikk150 just use browserName = chrome
.
but I have to use browserName = android
in order for it to give me android
@mikk150 then use deviceName = android
.
@mikk150 then use
deviceName = android
.
@vania-pooh and then we are at square one
do I have to say in browsers.json that chrome image is android?
this part is really badly documented...
I want to test Chrome browser on Android
@mikk150 you don't have to use deviceName = android
in case of Chrome Mobile. Should have the following capabilities:
browserName = chrome
version = mobile-75.0
And you should have the same browser name and version in browsers.json
.
I have the same issue. I'm trying to run tests in selenoid/android:8.1 so in browsers.json I added:
"android": {
"default": "8.1",
"versions": {
"8.1": {
"image": "selenoid/android:8.1",
"port": "4444",
"tmpfs": {"/tmp":"size=512m"}
}
}
}
and trying to start it by setting capabilities:
desiredCapabilities.setBrowserName("android");
desiredCapabilities.setVersion("8.1");
in selenoid/android:8.1 container I got error:
[AndroidDriver] Error: The desired capabilities must include either an app, appPackage or browserName
Try to change android to chrome and version to mobile-77.0 in browsers.json, image should remain the same...
ср, 23 окт. 2019 г., 11:38 czenczakm notifications@github.com:
I have the same issue. I'm trying to run tests in selenoid/android:8.1 so in browsers.json I added:
"android": { "default": "8.1", "versions": { "8.1": { "image": "selenoid/android:8.1", "port": "4444", "tmpfs": {"/tmp":"size=512m"} } } }
and trying to start it by setting capabilities:
desiredCapabilities.setBrowserName("android"); desiredCapabilities.setVersion("8.1");
in selenoid/android:8.1 container I got error:
[AndroidDriver] Error: The desired capabilities must include either an app, appPackage or browserName
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/aerokube/selenoid-images/issues/185?email_source=notifications&email_token=AAKY23I6VHRDM67JWSYFKVDQQAERZA5CNFSM4I2ESC2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECASP4Y#issuecomment-545335283, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKY23MUEAARSIMZBZ6UKCTQQAERZANCNFSM4I2ESC2A .
@czenczakm These images are used for testing mobile applications in Android emulator and logically you have to specify which application to test. This is done via app
capability. E.g. https://github.com/aerokube/demo-tests/blob/master/src/test/java/com/aerokube/selenoid/AndroidRemoteApkTest.java To work with Chrome Mobile use selenoid/chrome:mobile-77.0
image.
selenoid/chrome:mobile-77.0
Please, try to download selenoid/chrome:mobile-77.0
image, you will see that it fails miserably because those images do not exist
@mikk150 did not build yet. Older versions exist.
@mikk150 did not build yet. Older versions exist.
https://hub.docker.com/r/selenoid/chrome/tags?page=1&name=mobile
I see no tags here... if I am not mistaken they should be here
@mikk150 https://hub.docker.com/r/selenoid/chrome-mobile/tags However browserName
should be chrome
.
@vania-pooh
А есть возможность добавить chrome к образу selenoid/android? чтобы при тестировании из ссылки внутри приложения можно было перейти в гугл хром, а не в стандартный браузер?
@DimqBBSQO selenoid/android
это по определению образ без Хрома. Вы всегда можете собрать себе такой образ самостоятельно, используя наши скрипты.
How to tell to Appium that I require Chrome browser?