如何查看selenium的版本号

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了如何查看selenium的版本号相关的知识,希望对你有一定的参考价值。

方法一:

打开cmd,输入python

>>> import selenium
>>> help(selenium)
Help on package selenium:

NAME
selenium

FILE
d:\python27\lib\site-packages\selenium\__init__.py

DESCRIPTION
# Licensed to the Software Freedom Conservancy (SFC) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The SFC licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

PACKAGE CONTENTS
common (package)
webdriver (package)

DATA
__version__ = 3.0.2

VERSION
3.0.2

 

方法二:

打开cmd,输入

pip show selenium

 

以上是关于如何查看selenium的版本号的主要内容,如果未能解决你的问题,请参考以下文章

如何看mysql版本

Oracle 数据库 - 使用UEStudio修改dmp文件版本号,解决imp命令恢复的数据库与dmp本地文件版本号不匹配导致的导入失败问题,“ORACLE error 12547”问题处理(代码片段

Selenium Web自动化测试学习

查看 wordpress 版本以及如何隐藏版本号

selenium之安装浏览器驱动

如何查看自己项目中vue的版本号和cli的版本号