Size: a a a

Aerokube Support

2021 February 18

A

Alex in Aerokube Support
спасибо!
источник

KG

Kanni Grand in Aerokube Support
Добрый день, есть ли возможность запустить firefox c вместе с переменными среды?
а то у меня не выходит
падает в ошибку selenium.common.exceptions.SessionNotCreatedException: Message: Unable to find a matching set of capabilities
ошибка происходит когда я пытаюсь передать не пустой список в переменную 'env'
chrome при тех же параметрах работает нормально.
источник

IK

Ivan Krutov in Aerokube Support
Kanni Grand
Добрый день, есть ли возможность запустить firefox c вместе с переменными среды?
а то у меня не выходит
падает в ошибку selenium.common.exceptions.SessionNotCreatedException: Message: Unable to find a matching set of capabilities
ошибка происходит когда я пытаюсь передать не пустой список в переменную 'env'
chrome при тех же параметрах работает нормально.
заверните в selenoid:options
источник

AC

Akbar C in Aerokube Support
Hi,

Can we incorporate cypress.io with in selenoid?
источник

KG

Kanni Grand in Aerokube Support
Ivan Krutov
заверните в selenoid:options
завернул, не помогло
источник

IK

Ivan Krutov in Aerokube Support
Akbar C
Hi,

Can we incorporate cypress.io with in selenoid?
no, this is not possible as cypress.io is not using Selenium protocol
источник

IK

Ivan Krutov in Aerokube Support
and is considered as developer assistance tool, not a test tool
источник

AC

Akbar C in Aerokube Support
Thanks for the quick feedback.
источник

GM

Gennadii Mishchevski... in Aerokube Support
Ivan Krutov
and is considered as developer assistance tool, not a test tool
was forced to write e2e using Cypress. 100% agree with Ivan! If you want to write some small fast integration tests - Cypress might be your choice but if you need Selenoid you definitely don't need Cypress.
источник

ST

Sudeep Talele in Aerokube Support
источник

ST

Sudeep Talele in Aerokube Support
Getting this error for browser images any solution for this?
источник

IK

Ivan Krutov in Aerokube Support
Sudeep Talele
not sure. just tried myself and it works.
источник

ST

Sudeep Talele in Aerokube Support
Thanks ivan  i also pulled browser image it's working fine but with command it's not working fine
источник

O

Oleksii in Aerokube Support
Привет. А подскажите по совместимостям. wdio/cli and wdio/local-runner 6 версии не работают aerokube/selenoid lasted-release. Понижение до 5 версии завелось.
источник

АА

Александр Андряшин... in Aerokube Support
Oleksii
Привет. А подскажите по совместимостям. wdio/cli and wdio/local-runner 6 версии не работают aerokube/selenoid lasted-release. Понижение до 5 версии завелось.
а ошибки какие?
источник

O

Oleksii in Aerokube Support
Александр Андряшин
а ошибки какие?
Открывается сессия, но дальше ничего не происходит. И потом [0-0] 2021-02-18T09:03:38.802Z WARN webdriver: Request failed with status 400 due to Response has empty body
38[0-0] 2021-02-18T09:03:44.445Z ERROR webdriver: Request failed with status 400 due to Error: Response has empty body
39[0-0] 2021-02-18T09:03:44.446Z ERROR webdriver: Error: Response has empty body
40    at Object.getErrorFromResponseBody (/app/node_modules/webdriver/build/utils.js:86:16)
41    at WebDriverRequest._request (/app/node_modules/webdriver/build/request.js:134:31)
42    at processTicksAndRejections (internal/process/task_queues.js:97:5)
43    at Object.startWebDriverSession (/app/node_modules/webdriver/build/utils.js:29:20)
44    at Function.newSession (/app/node_modules/webdriver/build/index.js:35:45)
45    at Object.exports.remote (/app/node_modules/webdriverio/build/index.js:53:22)
46    at Runner._startSession (/app/node_modules/@wdio/runner/build/index.js:123:56)
47    at Runner._initSession (/app/node_modules/@wdio/runner/build/index.js:103:25)
48    at Runner.run (/app/node_modules/@wdio/runner/build/index.js:52:19)
49[0-0] 2021-02-18T09:03:44.449Z ERROR @wdio/runner: Error: Failed to create session.
50Make sure to connect to valid hostname:port or the port is not in use.
51If you use a grid server
52Make sure to add vendor prefix like "goog:", "appium:", "moz:", etc to non W3C capabilities.
53See more https://www.w3.org/TR/webdriver/#capabilities
54    at Object.startWebDriverSession (/app/node_modules/webdriver/build/utils.js:34:15)
55    at processTicksAndRejections (internal/process/task_queues.js:97:5)
56    at Function.newSession (/app/node_modules/webdriver/build/index.js:35:45)
57    at Object.exports.remote (/app/node_modules/webdriverio/build/index.js:53:22)
58    at Runner._startSession (/app/node_modules/@wdio/runner/build/index.js:123:56)
59    at Runner._initSession (/app/node_modules/@wdio/runner/build/index.js:103:25)
60    at Runner.run (/app/node_modules/@wdio/runner/build/index.js:52:19)
источник

АА

Александр Андряшин... in Aerokube Support
вот это пробовали:
Make sure to add vendor prefix like "goog:", "appium:", "moz:", etc to non W3C capabilities
источник

O

Oleksii in Aerokube Support
Александр Андряшин
вот это пробовали:
Make sure to add vendor prefix like "goog:", "appium:", "moz:", etc to non W3C capabilities
Да, докидывал 'goog:chromeOptions': {
 
// to run chrome headless the following flags are required
 // (see https://developers.google.com/web/updates/2017/04/headless-chrome)
 
https://developers.google.com/web/updates/2017/04/headless-chrome)
 args: [
   
'--headless',
   
'--disable-gpu'
 
]
},
все так же
источник

АА

Александр Андряшин... in Aerokube Support
enableVNC выставляете?
источник

O

Oleksii in Aerokube Support
Александр Андряшин
вот это пробовали:
Make sure to add vendor prefix like "goog:", "appium:", "moz:", etc to non W3C capabilities
Попробуйте на своем проекте поднять версии либ и проверить https://github.com/aerokube/browsers-webdriverio-example
источник