-
Notifications
You must be signed in to change notification settings - Fork 116
chore(protractor): support Protractor 5.x.x with the new webdriver-manager #372
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
JK. I looked at Protractor master branch.... I think I can fake in something to work. Maybe JS files in the lib/ that get copied to built/lib/config. This is not ready for prime time yet. |
3223a6e
to
5800b2d
Compare
5800b2d
to
ba7b77f
Compare
Okay this should be ready for review now. It creates the update-config.json file from the existing config files. The directories match: Note this always rewrites the file on every static call. I could check to see the age of the file but the max rewrite is 3 times. This isn't the best fix and will make it better if there is a problem. |
…nager - During the static call (for 5.4.2 to built/lib/config) to getSeleniumDir, construct the update-config.json. This is just combining existing information from geckodriver.config.json, chrome.config.json and selenium-server.config.json. Important note that since this is just added in, this file will not be removed during the clean up and will always be overwritten when making the static call. If it is called 3 times in the driverProviders/local test, it will rewrite the file 3 times. - Add test for Protractor. For both version 5.4.2 and version 6+ calls to webdriver-manager. - Add jasmine protractor test to circle ci test.
getSeleniumDir, construct the update-config.json. This is just combining
existing information from geckodriver.config.json, chrome.config.json
and selenium-server.config.json. Important note that since this is just
added in, this file will not be removed during the clean up and will
always be overwritten when making the static call. If it is called 3
times in the driverProviders/local test, it will rewrite the file 3
times.
to webdriver-manager.