Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Selenium3 is downgraded to selenium2

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

When installing selenium, execute pip2 install selenium directly to verify whether selenium is installed successfully but report an error, as shown in the following figure

View the version. Found that the silent installation of selenium is the latest version, 3.8.0

Selenium3 no longer supports browsers by default and requires the support of the driver package. There is no driver package support at this time because of this error. At present, I am still in the entry stage, and the downloaded material is in the selenium2 framework, so I choose selenium3 to downgrade to selenium2.

Step 1: to avoid conflicts between the reduced version and the current version, first delete all files at the beginning of selenium under Python27\ Lib\ site-packages

Step 2: execute pip2 install selenium==2.53.6

This completes the downgrade of selenium3 to selenium2.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report