By doing so, you can avoid giving the absolute path of the Selenium GeckoDriver if the Selenium FirefoxDriver instance is created in the test code. At CB Reptile, 100 of our baby gecko inventory is captive bred.
Transcribed image text: // TODO Auto-generated method stub tProperty("", "C:\Usersstartnow.OneDrive- matrixcollege.ca\Course Automated- 18902419511\geckodriver-vo.26.0-win32\geckodriver.exe") WebDriver firefox = new FirefoxDriver() String baseUrl="": String firstName "toto" String lastName="welcome" firefox.get(baseUrl) firefox.findElement(By.link Text("Home").click: List tab ("tr")) List but tab.get(3).findElementsBy.tagName("button")) (but.size()) (but.get().getText(). Ensure the geckodriver executable is found in one of the paths when you run: import sys print sys.path And the problem should be resolved. Geckodriver provides the HTTP API described by the WebDriver protocol, so that Gecko browsers, such as Firefox. Step 3: Copy the GeckoDriver (geckodriver.exe) to the folder where the Firefox browser is located.