Python + Selenium: Path to driver
问题 Is there any possibility to run Python + Selenium script without entering the path of an exe file in every single script in Python line: driver = webdriver.Chrome(). The same question applies to "IE Driver", "Edge Driver" and "Gecko Driver". Can it be done by some general python class and should I create some additional file for it? Or is it a matter of Integrated Development Environment configuration? I would be grateful for your expert word. 回答1: You can change the source code. Just assign