Python FAQ

1. What should I do if the object cannot be automatically associated with the pycharm tool?

  First check File-->power save mode in the toolbar to see if it is checked, if checked, remove the check

  If the above method is still correct, check whether the imported module file exists and whether the path is correct

2. Selenium still cannot be used after installing the driver

   The firefox browser needs to install geckodriver,

   Download address: https://github.com/mozilla/geckodriver/release;

 Correspondingly, chrome browser needs to install chromedriver, IE browser needs to install IEdriver

Put the downloaded driver installation files, such as: geckodriver.exe, chromedriver.exe under Scripts in the python installation path,

The premise is that python/Scripts is added to the environment variable and can be used directly by running it.

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325342514&siteId=291194637