following into the interactive shellfrom selenium import webdriver browser webdriver firefox(type(browserbrowser get('you'll notice when webdriver firefox(is calledthe firefox web browser starts up calling type(on the value webdriver firefox(reveals it' of the webdriver data type and calling browser get('directs the browser to look something like figure - figure - after we call webdriver firefox(and get(in muthe firefox browser appears if you encounter the error message "'geckodriverexecutable needs to be in path "then you need to manually download the webdriver for firefox before you can use selenium to control it you can also control browsers other than firefox if you install the webdriver for them for firefoxgo to browser engine used in firefox for exampleon windows you'll want to download the geckodriver- -win zip linkand on macosyou'll want the geckodriver- -macos tar gz link newer versions will have slightly different links the downloaded zip file will contain geckodriver exe (on windowsor geckodriver (on macos and linuxfile that you can put on your system path appendix has information about the system pathor you can learn more at