Local use of drivers
When running a suite locally through an IDE environment, the framework should store and point to the required driver files for each browser. The standalone server is not required when running locally (if running Appium to test mobile devices, you must however run the Appium server locally). The reason you want to store the files in the repo for the framework is to provide a means for all users to not have to download the driver files and install them in their local environment.
Also, when the driver is started locally, it needs a path to find the driver file, and that should be stored in a properties file, as it is passed into the driver class when it is instantiated. Here is how that is done for each browser, using the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access