1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
| var seleniumServer = require('selenium-server');
| var chromedriver = require('chromedriver');
| var geckodriver = require('geckodriver');
|
| module.exports = {
| src_folders: ['tests'],
| selenium: {
| start_process: true,
| server_path: seleniumServer.path,
| port: 4444,
| cli_args: {
| 'webdriver.chrome.driver': chromedriver.path,
| 'webdriver.gecko.driver': geckodriver.path,
| },
| check_process_delay: 5000,
| },
| test_settings: {
| 'chrome': {
| desiredCapabilities: {
| browserName: 'chrome',
| },
| },
| 'chrome-headless': {
| desiredCapabilities: {
| browserName: 'chrome',
| chromeOptions: {
| args: [
| '--headless',
| '--no-sandbox',
| '--disable-gpu',
| ],
| },
| },
| },
| 'firefox': {
| desiredCapabilities: {
| browserName: 'firefox',
| },
| },
| 'firefox-headless': {
| desiredCapabilities: {
| browserName: 'firefox',
| 'moz:firefoxOptions': {
| args: [
| '--headless',
| ],
| },
| },
| },
| },
| };
|
|