()
| 2002 | |
| 2003 | |
| 2004 | def 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 | |
| 2014 | def iedriver_on_path(): |
no outgoing calls
no test coverage detected
searching dependent graphs…