i have this code as shown here that will create a chromedriver that will be available to all instances of the class, and to other objects using the class.
however, as i know that in order to use the chrome driver, i have to include this code here.
if i were to put the codes like that, there will be a error of <identifier> expected illegal start of type in the System.setProperty
and if i were to write it this way, there will be multiple drivers opening based on the number of methods i have.
what would the correct way to implement this if i want to keep the public static final infront of the WebDriver driver?