Can we pass a static variable value as a parameter in an instance method in Java?
static webdriver driver = webdriver.driver.chrome();
public void setup(webdriver ldriver) {
this.driver=ldriver;
}
Can a pass static variable value to method?
Can we pass a static variable value as a parameter in an instance method in Java?
static webdriver driver = webdriver.driver.chrome();
public void setup(webdriver ldriver) {
this.driver=ldriver;
}
Can a pass static variable value to method?
Copyright © 2021 Jogjafile Inc.