angular / protractor

E2E test framework for Angular apps
http://www.protractortest.org
MIT License
8.75k stars 2.31k forks source link

Ignoring unknown extra flags: selenium-session-id #5446

Open tfaron opened 4 years ago

tfaron commented 4 years ago

Bug report

Note I also have an issue #5440 open with using seleniumSessionId and w3c

We start the webdriver then create a session, we then pass that session id when running tests.

Without being able to pass the seleniumSessionId our tests would take significally longer having to start a browser session and login each time.

exports.config = { framework: 'jasmine',

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

SELENIUM_PROMISE_MANAGER: false,

// capabilities : {browserName : 'chrome'}, capabilities: { browserName: 'chrome', chromeOptions: { prefs: { download: { default_directory: downloads } } } },

// directConnect : true,

DEFAULT_TIMEOUT_INTERVAL: '700000',

allScriptsTimeout: 120000,

suites: { e2e: './dist/e2e-atf/*/.atf-e2e-spec.js' },

resultJsonOutputFile: 'c:/work/ATF/Logs/results.json',

jasmineNodeOpts: { showColors: true },

T-e-j-k-u-m-a-r commented 3 years ago

Is this issue still existing or resolved? Because I encountered the similar issue while running the conf.js file using the command: protractor conf.js