Closed HarlemSquirrel closed 5 years ago
I'm wondering what the use case for these is (especially since they wouldn't be using any settings made in an application that installed them)?
For me, mostly a nice way to check the running version of the driver.
Kevin McCormack Full Stack Web Developer HarlemSquirrel.github.io
On Thu, May 16, 2019, 3:11 PM Thomas Walpole notifications@github.com wrote:
I'm wondering what the use case for these is?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/titusfortner/webdrivers/pull/120?email_source=notifications&email_token=ABRFV5ZKVVYRPZIQJTN5X7DPVWWVLA5CNFSM4HM5OO72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVSZB2Q#issuecomment-493195498, or mute the thread https://github.com/notifications/unsubscribe-auth/ABRFV54YEYQ2VJZU4GURY73PVWWVLANCNFSM4HM5OO7Q .
Ok, but since it wouldn't actually be loading things like the required version, or install dir, specified in an app, and if you haven't specified a required version webdrivers would be automatically updating it when the tests are run - does it actually provide useful info?
I'm currently using something similar with chromedriver-helper
and geckodriver-helper
to display the version in use on CircleCI to assist in debugging. I see you're point so perhaps for this a better approach might be to print the version loaded by calling Webdrivers::Chromedriver.desired_version
.
might be to print the version loaded by calling Webdrivers::Chromedriver.desired_version.
@HarlemSquirrel Webdrivers::Chromedriver.current_version
will give you that.
Would it make sense to add a rake task webdrivers:chromedriver:version
that outputs it?
Rake tasks to display versions should work fine for my use case. If no one else sees a use for these executable additions then we can close this.
Merged with #117
This adds executables similar to
chromedriver-helper
andgeckodriver-helper