MacOS – default write/read/delete command

In Mac, we can use default write to set the system preference settings. Here are the examples we used while setting jenkins: set a property: sudo default write /Library/Preferences/org.jenkins-ci.plist httpPort 8888 delete a property: sudo default delete /Library/Preferences/org.jenkins-ci.plist httpPort read properties: sudo default read /Library/Preferences/org.jenkins-ci.plist Advertisements

Selenium webdriver – The path to the driver executable must be set by the webdriver.gecko.driver system property

I am using selenium webdriver version 3.3.1 to write selenium test cases and following issue was hit while executing: java.lang.IllegalStateException: The path to the driver executable must be set by the webdriver.gecko.driver system property; for more information, see https://github.com/mozilla/geckodriver. The latest version can be downloaded from https://github.com/mozilla/geckodriver/releases at example.NewTest.beforeTest(NewTest.java:22) How to fix: The selenium client… Continue reading Selenium webdriver – The path to the driver executable must be set by the webdriver.gecko.driver system property