Skip to content

Instantly share code, notes, and snippets.

@ChaimStanton
Created April 12, 2020 00:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ChaimStanton/4405e1a7294e87f1eefccf2106cc548f to your computer and use it in GitHub Desktop.
Save ChaimStanton/4405e1a7294e87f1eefccf2106cc548f to your computer and use it in GitHub Desktop.
ERROR: test_initialmuckup (__main__.TestInitialmuckup)
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\Users\ATS- Asus\Documents\tesco stuff\test_initialmuckup_with_comments.py", line 20, in setUp
self.driver = webdriver.Chrome(driver_path)
File "C:\Users\ATS- Asus\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\selenium\webdriver\chrome\webdriver.py", line 73, in __init__
self.service.start()
File "C:\Users\ATS- Asus\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\selenium\webdriver\common\service.py", line 72, in start
self.process = subprocess.Popen(cmd, env=self.env,
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.752.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 854, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.752.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 1247, in _execute_child
args = list2cmdline(args)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.752.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 549, in list2cmdline
for arg in map(os.fsdecode, seq):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.752.0_x64__qbz5n2kfra8p0\lib\os.py", line 818, in fsdecode
filename = fspath(filename) # Does type-checking of `filename`.
TypeError: expected str, bytes or os.PathLike object, not WebDriver
----------------------------------------------------------------------
Ran 1 test in 5.560s
FAILED (errors=1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment