-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add "headless" setting for the main 3 browsers #768
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
В целом ок, но есть несколько опечаток и пару предложений по улучшению (подробнее в комментах).
Да.
Данный список браузеров скорей всего есть в webdriverio, который мы используем для общения с браузерами. В hermione про это никакой логики нет.
Похоже добавили прокидывание опции
e2e тестов действительно нет. Обычно проверяем на ветке на крупных пользовательских проектах. Либо проверяем локально на тестовом проекте. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
В остальном /ok
Флаги взяты отсюда: https://webdriver.io/docs/capabilities/#run-browser-headless
У меня есть пара вопросов:
desiredCapabilities.browserName
(который по докам является User Agent, и по логике может быть arbitary) и есть идентификатор конкретного движка?Я вообще ожидал что где-то в коде будет список поддерживаемых браузеров, и я не буду хардкодить "chrome", "msedge" и тп. Может быть я что-то пропустил.
headless
настройка уже 2 года, а по сути ее не было все это время?)