Property file - Type of Driver abstraction

So a property file would be basically a key value pair. We need one file that would contain all properties that we need (type of driver for now) and we would also need some code to read the values from this property file when needed.

Let us create a properties file, right inside the src folder. We will name it config.properties and add a browser property inside it. It should look like the following.

Screen

results matching ""

    No results matching ""