Size: a a a

Aerokube Support

2020 June 26

AP

Alexey Piskunov in Aerokube Support
Александр Андряшин
Попробуйте обращаться к docker.host.internal.
Все хостится на centos и docker.host.internal недоступен. Возможно, я не правильно понял где вы имели ввиду его использовать?
источник

IK

Ivan Krutov in Aerokube Support
Sunil Jaiswal
So there is no way i can run android image on centos ?
you could rebuild them from source code
источник

АА

Александр Андряшин... in Aerokube Support
Sunil Jaiswal
So there is no way i can run android image on centos ?
You can build your own images based on centos.
источник

SJ

Sunil Jaiswal in Aerokube Support
Ivan Krutov
you could rebuild them from source code
I tried that as well, do i need to do any changes in automate_android.sh file to make it work on centos?
источник

АА

Александр Андряшин... in Aerokube Support
Alexey Piskunov
Все хостится на centos и docker.host.internal недоступен. Возможно, я не правильно понял где вы имели ввиду его использовать?
У докера есть доменное имя которое резолвится в gateway, может я по памяти неправильно его написал.
источник

АА

Александр Андряшин... in Aerokube Support
Sunil Jaiswal
I tried that as well, do i need to do any changes in automate_android.sh file to make it work on centos?
You have to change FROM
источник

IK

Ivan Krutov in Aerokube Support
also apt-get needs to be replaced by yum commands
источник

SJ

Sunil Jaiswal in Aerokube Support
i have to do this changes in dockerfile correct?
источник

IK

Ivan Krutov in Aerokube Support
yes
источник

SJ

Sunil Jaiswal in Aerokube Support
Ok..will try this
источник

SJ

Sunil Jaiswal in Aerokube Support
Thank you
источник

SW

Sagar Wadhwa in Aerokube Support
Hi Team, aren't the logs streamed to selenoid-ui/available on the websocket when running Selenoid in non-docker mode?
источник

IK

Ivan Krutov in Aerokube Support
no, but you can get them redirected to Selenoid log by adding -capture-driver-logs flag
источник

АА

Александр Андряшин... in Aerokube Support
Sagar Wadhwa
Hi Team, aren't the logs streamed to selenoid-ui/available on the websocket when running Selenoid in non-docker mode?
источник

SW

Sagar Wadhwa in Aerokube Support
I already have that option enabled and am able to get the logs locally. Was hoping I could somehow get them without setting up external-hosts
источник

SW

Sagar Wadhwa in Aerokube Support
Thanks for the help though 🙂
источник

T

Takhir in Aerokube Support
Всем привет! Кто нибудь сталкивался с проблемой когда к одному и тому же хосту (selenoid, moon) с java RemoteWebDriver подключаешься и тесты запускаются, а на Python webdriver.Remote с теми же capabilities не работает?

В консоли ошибка не самая подробная
<div>
E                 <h1>Application is not available</h1>
E                 <p>The application is currently not serving requests at this endpoint. It may not have been started or is still starting.</p>
E          
E                 <div class="alert alert-info">
E                   <p class="info">
E                     Possible reasons you are seeing this page:
E                   </p>
E                   <ul>
E                     <li>
E                       <strong>The host doesn't exist.</strong>
E                       Make sure the hostname was typed correctly and that a route matching this hostname exists.
E                     </li>
E                     <li>
E                       <strong>The host exists, but doesn't have a matching path.</strong>
E                       Check if the URL path was typed correctly and that the route was created using the desired path.
E                     </li>
E                     <li>
E                       <strong>Route and path matches, but all pods are down.</strong>
E                       Make sure that the resources exposed by this route (pods, services, deployment configs, etc) have at least one pod running.
E                     </li>
E                   </ul>
E                 </div>
источник

T

Takhir in Aerokube Support
При этом если к локальному серверу подключаешься все ок
источник

T

Takhir in Aerokube Support
JAVA:
       DesiredCapabilities capabilities = new DesiredCapabilities();
       capabilities.setBrowserName("chrome");
       capabilities.setVersion("81.0");capabilities.setCapability("enableVNC", true);
       capabilities.setCapability("enableVideo", false);

       RemoteWebDriver driver = new RemoteWebDriver(URI.create("some connection string").toURL(), capabilities);
источник

T

Takhir in Aerokube Support
PYTHON
       capabilities = {
           "browserName": "chrome",
           "version": "81.0",
           "enableVNC": True,
           "enableVideo": False,
       }

       self.wd = webdriver.Remote(
           command_executor='some connection string',
           desired_capabilities=capabilities)
источник