4
Chrome has now a native headless mode。我想將其設置爲在沒有Xvfb的情況下運行TravisCI上的Selenium測試。TravisCI上的Selenium with Headless Chrome(2016)
是否有方便的TravisCI安裝無頭的Chrome二進制文件,因爲大多數的食譜只能從源頭
是否硒需要任何特定的提示編譯無頭Chrome中的無頭鉻
Chrome has now a native headless mode。我想將其設置爲在沒有Xvfb的情況下運行TravisCI上的Selenium測試。TravisCI上的Selenium with Headless Chrome(2016)
是否有方便的TravisCI安裝無頭的Chrome二進制文件,因爲大多數的食譜只能從源頭
是否硒需要任何特定的提示編譯無頭Chrome中的無頭鉻
特拉維斯提供usage of the chrome add-on。如果你想在Linux上運行你的構建(可信賴),你需要做的就是在你的travis文件中指定chrome並在開始測試之前以無頭模式啓動瀏覽器。
dist: trusty
addons:
chrome: stable
before_install:
- # start your web application and listen on `localhost`
- google-chrome-stable --headless --disable-gpu --remote-debugging-port=9222 http://localhost &