not sure where your geckodriver is located on windows, but once you know where it is located, you have to add it to the system path.
this can be done in software:
see: https://stackoverflow.com/questions/2895...pt-windows
you can also use:
this can be done in software:
see: https://stackoverflow.com/questions/2895...pt-windows
you can also use:
browser = webdriver.Firefox(firefox_options=options, capabilities=caps, executable_path=r"yourpathto/geckodriver")