web.suite.yml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. class_name: WebGuy
  2. modules:
  3. enabled: [WebDriver, WebHelper]
  4. config:
  5. WebDriver:
  6. url: http://localhost:8000
  7. browser: chrome
  8. window_size: 1200x768
  9. restart: true # Use a new browser window for each test (to isolate test cases from each other)
  10. env:
  11. fast:
  12. modules:
  13. config:
  14. WebDriver:
  15. restart: false
  16. phantom:
  17. modules:
  18. config:
  19. WebDriver:
  20. browser: phantomjs
  21. port: 4455
  22. chrome:
  23. modules:
  24. config:
  25. WebDriver:
  26. browser: chrome
  27. headless:
  28. modules:
  29. config:
  30. WebDriver:
  31. browser: chrome
  32. window_size: false
  33. restart: false
  34. capabilities:
  35. "goog:chromeOptions":
  36. args: ["--headless", "--disable-gpu", "--disable-extensions"]
  37. binary: "/usr/bin/google-chrome"
  38. chromedriver:
  39. modules:
  40. config:
  41. WebDriver:
  42. browser: chrome
  43. port: 9515 # ChromeDriver port
  44. window_size: false
  45. capabilities:
  46. "goog:chromeOptions":
  47. args: ["--headless", "--disable-gpu"]
  48. binary: "/usr/bin/google-chrome"