MCPcopy Create free account
hub / github.com/seleniumbase/SeleniumBase / geckodriver_on_path

Function geckodriver_on_path

seleniumbase/core/browser_launcher.py:2004–2011  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2002
2003
2004def geckodriver_on_path():
2005 paths = os.environ["PATH"].split(os.pathsep)
2006 for path in paths:
2007 if (not IS_WINDOWS) and os.path.exists(path + "/geckodriver"):
2008 return True
2009 elif IS_WINDOWS and os.path.exists(path + "/geckodriver.exe"):
2010 return True
2011 return False
2012
2013
2014def iedriver_on_path():

Callers 1

get_local_driverFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…