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

Selenium+python (one)

2025-01-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

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

Hello, everyone. Today is my first time to write a blog. I have been working for some time. Today, I would like to share some of what I have learned. We can learn together, make progress together, and write poorly. I like it a lot, but my skills are limited.

Today, I want to write something related to automation, which can be regarded as a record of the course of learning.

Environment: python+selenium

Python I believe that everyone is no stranger, now more popular version 3, but mine is the previous installation of version 2, here will not be updated, after all, we are learning principles.

First, first install python first, which is not described in detail here, which is relatively simple. After installation, you need to add the installation directory of python to the environment variable path. After installation, you can enter python in the dos window to verify whether the installation is successful.

Second, install selenium, I use pip install selenium to install, some input this command may prompt pip can not install, need to install pip first

3. After the installation is complete, you can use the tool to verify it. You can use either eclipse or pycharm. Depending on your preference, I think both of them are quite easy to use. Here I use the pycharm tool. Enter the following code to verify whether it is successful:

If the startup is successful here, and type the title on the console, the first step is considered successful.

That's all for the first step, and update it next time. My computer skills are not good, but I will continue to learn!

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: 301

*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