2

Mac ターミナルに移動してwebdriver-manager startと入力する必要がなくなるまで、構成ファイルを取得しようとしています。設定ファイルにそれをさせることは可能ですか?私が設定したものを理解できるように、以下に私のコードをリストしました。それが可能かどうかはわかりません。お知らせ下さい。私はmacbook proを使用しています。

exports.config = {

    seleniumServerJar: './selenium/selenium-server-standalone-2.45.1.jar',

    seleniumPort: null,

    chromeDriver: './selenium/chromedriver.exe',
    chromeDriver: null,


    seleniumAddress: 'http://localhost:4444/wd/hub',


    // ----- What tests to run -----

    suites: {
        CSRSmokeTest: '../smoke/deskTop/CSR.js'
        DesktopSmokeTest: '../smoke/deskTop/**.js'
    },

    chromeOnly: false,

    multiCapabilities: [
        {
            'browserName': 'chrome',
            'chromeOptions': {
                args: ['--lang=en',
                    '--window-size=1900,1200']
            }
        },

    ],

    baseUrl: location + '/login/#/login',
    rootElement: 'body',

    onPrepare: function () {
        browser.ignoreSynchronization = true;
        browser.get(location + '/login/#/login');
    },
    params: {
        user: {

            //TEST******************************************


        },
        url: {

            //some code

        }

    },

    jasmineNodeOpts: {
        // onComplete will be called just before the driver quits.
        onComplete: null,
        // If true, display spec names.
        isVerbose: true,
        // If true, print colors to the terminal.
        showColors: true,
        // If true, include stack traces in failures.
        includeStackTrace: true,
        // Default time to wait in ms before a test fails.
        defaultTimeoutInterval: 6000000
    }
};
4

1 に答える 1