用python做python自动化测试框架时,无法启动FireFox--geckodriver怎么办?

前言:很多做测试的朋友的就知道,python+webdriver &可以做自动化测试,这对前端开发是非常有用的。
webdriver+python的相关函数用法:&
1.webdriver的相关属性及函数http://blog.csdn.net/jojoy_tester/article/details/
2.webdriver的相关属性及函数/yufeihlf/p/5764807.html
3.driver定位方法/yufeihlf/p/5689042.html
4.定位不到元素(报NoSuchElementException)解决办法/yufeihlf/p/5689042.html
5.python入门/wiki/958fa6d3a2e542c000
6.webdriver键盘事件/111testing/p/6152834.html
7.谷歌模拟手机端测试:http://blog.csdn.net/huilan_same/article/details/
python 入门我就不讲了 &,推荐学习 廖雪峰老师的python入门3.5新版哈。/wiki/958fa6d3a2e542c000
在安装好python之后,就可以直接学习安装selenium了.
在安装selenium 之前,必须要先安装pip 环境,安装pip环境,从网上下载一个pip,解压完成后,进入解压目录下执行python setup install
安装selenium文件,在联网状态下,进入C:\Python27\Scripts(对应你自己的python安装目录下的scripts文件夹,可通过查看环境变量寻找该目录) ,执行pip install -U selenium 或者easy&install -U selenium
安装后cmd 运行test.py文件如果能正确自动弹出火狐并打开百度后自动关闭,则说明安装成功
&当然我在安装过程中还遇到了环境变量问题,如果运行后报错,是找不到驱动程序
则在你的python安装目录中geckdriver.exe后
并且在C:\Users\leo\AppData\Local\Programs\Python\Python36\Lib\site-packages\&selenium\webdriver\firefox下的webdriver.py文件 ,
找到_init_函数,在函数中加上ececutable_path="geckodriver"后,再运行试试看看。
以上就是我配置python+webdriver的过程,至于写自动化测试,就直接根据webdriverAPI就可以了。语法都差不多,看一下就明白 ,主要是环境不好配置,这是驱动火狐,如果想驱动谷歌浏览器的同学,可以下载一个Chromedriver.exe 特别注意&Chromedriver.exe的版本和你自己安装的谷歌浏览器的版本对应。下载好Chromedriver.exe后,将其存放在C:\Users\leo\AppData\Local\Programs\Python\Python36(对应你自己的python存储位置)。并在系统环境配置中,手动配置你Chrome启动程序的地址(可以通过打开chrome浏览器,输入chrome://version/ 查看&),便可以使用谷歌测试了。附图2张说明
&以上是我个人摸索出来的安装方式。&
另外,提供一种我个人安装好过后看到的一种简单的安装环境的方法(我自己没有测试过),有兴趣的童鞋可以试试
很多同学在windows搞不定&+ selenium-webdriver的安装环境,在这里给大家提供一种极速安装的方式。
只需要2步就可以安装完毕。
用active-python最大的好处就是,安装后像PATH变量等都是配置好的,不需要自己动手实现。
从下载active python2.7.5的windows安装版本,注意,如果是64位系统,则需要选择(64-bit, x64)版本下载。
双击打开下载的文件,直接下一步安装既可,很简单,什么都不需要更改。
安装selenium webdriver
打开命令行cmd,输入下面的命令
pip install selenium
回车后,你会看到下面的提示
Downloading/unpacking selenium
Downloading selenium-2.38.1.tar.gz (2.5MB): 2.5MB downloaded
Running setup.py egg_info for package selenium
Installing collected packages: selenium
Running setup.py install for selenium
Successfully installed selenium
Cleaning up...
大功告成。
再将ChromeDriver加到Path变量中即可。
原文出处:&
阅读(...) 评论()超过10年自动化测试经验,解答Selenium和UFT的问题【selenium吧】_百度贴吧
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&签到排名:今日本吧第个签到,本吧因你更精彩,明天继续来努力!
本吧签到人数:0成为超级会员,使用一键签到本月漏签0次!成为超级会员,赠送8张补签卡连续签到:天&&累计签到:天超级会员单次开通12个月以上,赠送连续签到卡3张
关注:855贴子:
超过10年自动化测试经验,解答Selenium和UFT的问题收藏
写下你遇到的技术难题,我有时间的话会帮忙解答。欢迎互相交流。
selenium,亚马逊海外购手机大牌钜惠!纯正海外货,嗨购不停!尽在Z.cn!亚马逊海外购,全球大牌好物,正品价优,放心来GOU!
谢谢,请问下。如何操作地图,比如百度地图,我想缩小放大后,找到某一个城市 或 地区,再点击操作。
java 如何生成selenium driver测试报告
请问这种对象用By.cssSelector怎样写才能定位到?copy css path:#menu & ul & li:nth-child(1) & a & div.menu-item & spancopy xpath://*[@id=&menu&]/ul/li[1]/a/div[2]/span
其实css selector和xpath的功能很相近,都很强大,我个人用xpath比较多。用法百度一下就有很多教材啦
Selenium怎样对桌面链接打开的网页进行自动化测试平常我们使用自动化测试的方法是1、创建一个ChromeDriver 打开浏览器2、获取已知的网址System.setProperty(&webdriver.chrome.driver&, &G:\\soft\\chromedriver.exe&);webDriver = new ChromeDriver(options);webDriver.get(&&);现在是这样的,测试的时候不知道网址,比如开机时候电脑桌面360右下角弹出的新闻,点击一下之后用Selenium进行自动化测试。请问这样应该怎样做呢
楼主帮忙看看这种情况吧,实在搞不懂我把Test.addTest(LoginTest(&test_CZXT_SKGL&)注释掉就能运行,代码应该没问题啊
经常出现element not visible,对几种等待定时的方法比较混乱,一般要怎样写的,不想总是time.sleep
请教一下楼主,我在安装UFT的时候报这个错是什么原因啊?这个文件是存在的,并且我也把这个文件的权限都改过了,安装程序也是用的管理员身份运行的,但是还是不行,百度google了好久也没有找到解决方案,求助!!
请问大咖平时用selenium怎样输出测试报告?有没有比较好的推荐?
请问我打印的内容怎样才能记录到测试报告中呢?
我运行了一个python的自动化脚本(打开火狐浏览器的脚本),报了这个错,百度好久也没找出原因,可以帮忙看下吗?错误如下:Traceback (most recent call last):
File &C:\Python34\lib\site-packages\selenium\webdriver\common\service.py&, line 74, in start
stdout=self.log_file, stderr=self.log_file)
File &C:\Python34\lib\subprocess.py&, line 848, in __init__
restore_signals, start_new_session)
File &C:\Python34\lib\subprocess.py&, line 1104, in _execute_child
startupinfo)FileNotFoundError: [WinError 2] 系统找不到指定的文件。During handling of the above exception, another exception occurred:Traceback (most recent call last):
File &E:\Python\程序\Max.py&, line 3, in &module&
browser = webdriver.Firefox()
File &C:\Python34\lib\site-packages\selenium\webdriver\firefox\webdriver.py&, line 145, in __init__
self.service.start()
File &C:\Python34\lib\site-packages\selenium\webdriver\common\service.py&, line 81, in start
os.path.basename(self.path), self.start_error_message)<mon.exceptions.WebDriverException: Message: &#39;geckodriver&#39; executable needs to be in PATH.
求助如何同时打开多个浏览器,或者打个多个窗口
求助,点击组织机构。出来的输入框怎么定位并选择
请问做自动化测试需要些什么技能?
可以试试换一个思路,使用selenium实现移动光标到控件之上,但点击不用selenium实现,使用其它工具实现,如java 的robot,autoit等。或者完全抛开selenium,使用sikuli识别和点击按钮。
Exception in thread &main& org.openqa.selenium.UnsupportedCommandException: mouseMoveTo
用selenium启动Firefox打开百度,却只能显示空白网页,还如图报错,是什么原因呢?
这样报错,火狐 selenium 都是最新版本,
求告知如何解决这个问题
你好,有个问题请教一下,就是使用selenium打开的firefox浏览器是全新的,没有任何插件和我保存的东西,怎么打开自己正在使用的firefox?谢谢了
统一回复一下firefox的问题。以前,selenium webdriver 内含了firefox的driver,这就是其它浏览器都要加载各自的driver程序,而firefox不需要的原因。
如果你slenium webdriver 2.x的话,请使用低于46.0版本的firefox。如果你要用新版本的firefox,请使用gecko driver,而且最好使用selenium 3.0。
如果根据我自己的验证,gecko driver还是有点bugs,所以最好使用firefox老版本或者用chrome
录制完点击回放时报错,请问这个问题怎么解决了?
Jenkins里面怎么搭selenium,.net项目,不能用jar包
selenium 2 新页签打开链接,但是定位不到新页面的元素,String[] handles = new String[driver.getWindowHandles().size()];driver.getWindowHandles().toArray(handles);for(int i = 0; i & handles. i++){System.out.println(handles[i]);}这样获取句柄也只是获取到一个页面的句柄而已请问怎样才能定位到新页面的元素呢??
登录百度帐号推荐应用Python - 如何用Selenium包做Web页面自动化测试
Selenium是ThoughtWorks公司为Web自动化测试开发的工具,除支持多种操作如、Mac OS X、Windows外,还支持Chrome、Firefox、Safari、Opera、IE等多种,适合做Web应用的兼容性测试及自动化测试。在Web开发的持续集成中,如果每次迭代都采用手工方式对已有的功能进行回归测试,需要的人力、时间成本将是非常巨大的,采用Selenium进行自动化地回归测试,可以让团队的精力集中在新功能的测试上,提升工作效率。
本文主要介绍在中使用Selenium包进行自动化测试的方法,您需要具备一些的知识及搭建Web服务器的方法,这样才能在学习的过程中亲手做实验,另外完整的示例代码放在我的上,欢迎大家访问。首先使用pip install selenium命令安装Python的Selenium包。针对不同的浏览器及其版本使用Selenium的方法会有所不同,如下是我的版本信息:
操作系统:Mac OS Sierra Python: 2.7.10 Selenium: 2.53.6 Firefox: 47.0.1 Safari: 10.0 Opera: 39.0 Chrome: 53
Selenium运行自动化测试的方法是打开浏览器,按照脚本规定的步骤模拟人的操作,如点击按钮、在文本框输入文本等,然后检查期望结果。第一步就是要知道访问什么页面,比如测试使用Firefox访问百度:
# -*- coding: utf-8 -*-
from selenium import webdriver
from mon.keys import Keys
# 目前支持的driver有Firefox, Chrome, IE和Remote等
driver = webdriver.Firefox(executable_path=&./geckodriver&)
# 直到页面被加载完(onload事件被触发)才将控制权返回脚本
driver.get(&#39;&#39;)
assert u&#39;百度一下,你就知道&#39; in driver.title
print u&当前URL:&, driver.current_url
对于使用了大量AJAX的页面,webdriver并不知道页面何时真正加载完成,这时需要使用告诉Selenium等待时间。
Webdriver是Selenium能够实现跨浏览器自动化测试的关键,通常简称wd。不同浏览器有不同的wd,但对外提供了统一的接口调用各个浏览器自身的自动化测试接口。上面Firefox的webdriver请。
打开页面后,第二件事情就是定位到我们要操作的页面元素,定位单个页面元素有如下方法(下面的方法,如果没有定位到相应的元素,抛出NoSuchElementException异常):
find_element_by_id:通过id属性定位元素(返回第一个匹配的)。 find_element_by_name:通过name属性定位元素(返回第一个匹配的)。 find_element_by_xpath:通过xpath定位元素(返回第一个匹配的)。 find_element_by_link_text:通过超链接文本定位超链接元素,必须是完全匹配(返回第一个匹配的)。 find_element_by_partial_link_text:通过超链接文本定位超链接元素,可以是部分匹配(返回第一个匹配的)。 find_element_by_tag_name:通过标签名字定位元素(返回第一个匹配的)。 find_element_by_class_name:通过class属性定位元素(返回第一个匹配的)。 find_element_by_css_selector:使用选择器语法定位元素(返回第一个匹配的)。
上面的方法,对应的批量定位方法如下(返回对应网页元素的列表):
find_elements_by_name find_elements_by_xpath find_elements_by_link_text find_elements_by_partial_link_text find_elements_by_tag_name find_elements_by_class_name find_elements_by_css_selector
此外,webdriver还有find_element及find_elements方法定位元素:
from mon.by import By
driver.find_element(By.XPATH, &#39;//button[text()=&Some text&]&#39;)
driver.find_elements(By.XPATH, &#39;//button&#39;)
By对象含有如下属性:
ID :元素id属性。 XPATH:xpath。 LINK_TEXT :超链接文本。 PARTIAL_LINK_TEXT :部分超链接文本。 NAME :元素name属性。 TAG_NAME :元素标签名字。 CLASS_NAME :元素class属性。 CSS_SELECTOR :使用CSS元素选择器语法。
操作文本框元素
比如在百度的输入框查询信息:
elem = driver.find_element_by_name(&#39;wd&#39;)
# 清空预填充内容
elem.clear()
# Keys对象表示键盘按键,如F1、ALT、ARROW_DOWN等
elem.send_keys(u&#39;48.HTTP基本认证与摘要认证&#39;, Keys.RETURN)
assert u&#39;Mars Loo的博客&#39; in driver.page_source
# quit方法关闭整个浏览器
driver.quit()
上传文件也可以采用send_keys方法,此时参数提供为文件的路径即可。
操作表单元素
定位到一个表单元素后,可以调用其submit方法提交表单:
form = ff.find_element_by_name(&#39;survey&#39;)
form.submit()
如果调用submit方法的元素不是表单,抛出异常NoSuchElementException。提交表单也可以定位到提交按钮元素后,调用其click方法:
submit = ff.find_element_by_id(&#39;submit&#39;)
submit.click()
操作select元素
# 采用xpath获取第一个select元素(即使有多个也返回第一个)
element = ff.find_element_by_xpath(&//select[@name=&#39;car&#39;]&)
# 获取所有选项,打印选项值并点击
all_options = element.find_elements_by_tag_name(&option&)
for option in all_options:
print &Value is: %s& % option.get_attribute(&value&)
option.click()Python+Selenium2自动化测试之IE、chrome浏览器启动 - 小二放牛 - 51Testing软件测试网 51Testing软件测试网-中国软件测试人的精神家园
Python+Selenium2自动化测试之IE、chrome浏览器启动
& 10:24:51
/ 个人分类:
 构建Python+Selenium2自动化环境完成之后,就需要测试支持的的版本是否都支持在不同上运行,当前我们分别在三个最通用的浏览器上通过脚本来测试。  1、在IE浏览器上运行测试脚本,首先需要下载IEDriverServer.exe,放在IE浏览器的安装目录且同级目录下,脚本如下:importosfromseleniumimportwebdriverfrommon.keysimportKeys
iedriver="C:\Program Files\Internet Explorer\IEDriverServer.exe"os.environ["webdriver.ie.driver"] =iedriver
driver=webdriver.Ie(iedriver)
driver.get("http://www.python.org")assert"Python"indriver.title
elem= driver.find_element_by_name("q")
elem.send_keys("selenium")
elem.send_keys(Keys.RETURN)assert""indriver.title
driver.close()
driver.quit()  2、在浏览器上运行测试脚本,首先需要下载ChromeDriver.exe,放在Chrome浏览器的安装目录且同级目录下,脚本如下:importosfromseleniumimportwebdriverfrommon.keysimportKeys
chromedriver="C:\Program Files (x86)\Google\Chrome\Application\chromedriver.exe"os.environ["webdriver.chrome.driver"] =chromedriver
driver=webdriver.Chrome(chromedriver)
driver.get("http://www.python.org")assert"Python"indriver.title
elem= driver.find_element_by_name("q")
elem.send_keys("selenium")
elem.send_keys(Keys.RETURN)assert"Google"indriver.title
driver.close()
driver.quit()  3、在Firefox浏览器上运行测试脚本,具体如下:fromseleniumimportwebdriverfrommon.keysimportKeys
driver=webdriver.Firefox()
driver.get("http://www.python.org")assert"Python"indriver.title
elem= driver.find_element_by_name("q")
elem.send_keys("selenium")
elem.send_keys(Keys.RETURN)assert"Google"indriver.title
driver.close()
driver.quit()  总结:通过以上三个不同浏览器上的测试,说明selenium在python中的运用于其Java版本都是一样。由于Firefox是默认安装路径,webdriver可以正常访问找到他,如果非系统默认安装路径,则需要跟IE和Chrome一样来设置driver路径。实际上直接把driver驱动放到对应浏览器的默认安装路径下,然后设置PATH到该路径,即可成功启动,但是要注意调用时的大小写问题,比如webdriver.Ie(),绝对不能写成webdriver.ie(),否则会报错:module is not callable后使用快捷导航没有帐号?
查看: 16669|回复: 5
selenium_python系列之二 Python启动浏览器Firefox\Chrome\IE
论坛徽章:14
本帖最后由 LABC 于
17:30 编辑
Python 3.4.1
PythonIDE: wingIDE 5.0
Firefox: 31
Chrome: 39
IE: 11# -*- coding:utf-8 -*-
import os
import selenium
from selenium import webdriver
from mon.keys import Keys
&&&
练习启动各种浏览器:Firefox, Chrome, IE
练习启动各种浏览器的同时加载插件:Firefox, Chrome, IE
&&&
def startFirefox():
& & &&&启动安装在默认位置的Firefox浏览器,并自动转到 百度 首页&&&
& & driver = webdriver.Firefox()
& & driver.get(&&)
& & assert(&百度& in driver.title)
& & elem = driver.find_element_by_name(&wd&)
& & elem.send_keys(&selenium&)
& & elem.send_keys(Keys.RETURN)
& & assert &百度& in driver.title
& & driver.close()
& & driver.quit()
& & driver = None
& &
def startFirefoxWithSpecificLocation():
& & &&&启动安装在 非 默认位置的Firefox浏览器,并自动转到 百度 首页&&&
& & firefoxBin = os.path.abspath(r&C:\Program Files (x86)\Mozilla Firefox\firefox.exe&)
& & os.environ[&webdriver.firefox.bin&] = firefoxBin
& &
& & driver = webdriver.Firefox()
& & driver.get(&&)
& & assert(&百度& in driver.title)
& & elem = driver.find_element_by_name(&wd&)
& & elem.send_keys(&selenium&)
& & elem.send_keys(Keys.RETURN)
& & assert &百度& in driver.title
& & driver.close()
& & driver.quit()
& & driver = None
def startChrome():
& & &&&启动Chrome浏览器,并自动转到 百度 首页
& & 启动Chrome浏览器需要指定驱动的位置
& & &&&
& & chrome_driver = os.path.abspath(r&D:\云盘\360云\360云盘\我的自动双向同步文件夹\01-PersonalInfo\DataGuru\12-软件自动化测试Selenium2\1-课程\练习代码_Python版本\Selenium_python\Files\chromedriver.exe&)
& & os.environ[&webdriver.chrome.driver&] = chrome_driver
& &
& & driver = webdriver.Chrome(chrome_driver)
& & driver.get(&&)
& & assert(&百度& in driver.title)
& & elem = driver.find_element_by_name(&wd&)
& & elem.send_keys(&selenium&)
& & elem.send_keys(Keys.RETURN)
& & assert &百度& in driver.title
& & driver.close()
& & driver.quit()
& & driver = None
def startIE():
& & &&&启动IE浏览器,并自动转到 百度 首页
& & 启动 IE 浏览器需要指定驱动的位置
& & &&&
& & ie_driver = os.path.abspath(r&D:\云盘\360云\360云盘\我的自动双向同步文件夹\01-PersonalInfo\DataGuru\12-软件自动化测试Selenium2\1-课程\练习代码_Python版本\Selenium_python\Files\IEDriverServer.exe&)
& & os.environ[&webdriver.ie.driver&] = ie_driver
& &
& & driver = webdriver.Ie(ie_driver)
& & driver.get(&http://www.python.org&)
& & assert(&Python& in driver.title)
& & elem = driver.find_element_by_id(&id-search-field&)
& & elem.send_keys(&selenium&)
& & '''
& & elem.send_keys(Keys.RETURN)
& & assert &百度& in driver.title
& & driver.close()
& & driver.quit()
& & driver = None& &
def start_firefox_with_firebug_plug():
& & &&&启动Firefox,并自动加载插件Firebug&&&
& & firefoxBin = os.path.abspath(r&C:\Program Files (x86)\Mozilla Firefox\firefox.exe&)
& & os.environ[&webdriver.firefox.bin&] = firefoxBin
& &
& & firefoxProfile = webdriver.FirefoxProfile()
& & tempDir = os.getcwd()
& & tempDir = os.path.split(tempDir)[0]
& & firebugPlugFile = os.path.join(os.path.join(tempDir,&Files&), &firebug-2.0.7.xpi&)& &
& & firefoxProfile.add_extension(firebugPlugFile)
& & firefoxProfile.set_preference(&extensions.firebug.currentVersion&, &2.0.7&)
& &
& & driver = webdriver.Firefox(firefox_profile=firefoxProfile)
& & driver.get(&&)
def start_chrome_with_chrometomobile_plug():
& & &&&启动Chrome,并自动加载插件Chrome to Mobile&&&
& & tempDir = os.getcwd()
& & tempDir = os.path.split(tempDir)[0]
& & chrome_driver_file = os.path.join(os.path.join(tempDir,&Files&), &chromedriver.exe&)& && &&&
& & os.environ[&webdriver.chrome.driver&] = chrome_driver_file
& &
& & chrome_to_mobile_plug_file =&&os.path.join(os.path.join(tempDir,&Files&), &Chrome-to-Mobile_v3.3.crx&)
& & chrome_options = webdriver.ChromeOptions()
& & chrome_options.add_extension(chrome_to_mobile_plug_file)
& & driver = webdriver.Chrome(executable_path=chrome_driver_file,
& && && && && && && && && &&&chrome_options=chrome_options)
& & driver.get(&&)
& & '''
& & driver.close()
& & driver.quit()
& & driver = None
& & '''
def start_firefox_with_default_settings():
& & &&&启动Firefox浏览器, 使用本地配置文件中的选项配置浏览器
& & 自动将页面载入过程导出为Har文件,并存放在
& & 配置项 extensions.firebug.netexport.defaultLogDir指定的D:\temp\selenium2目录下& &
& & &&&
& & firefox_bin = os.path.abspath(r&C:\Program Files (x86)\Mozilla Firefox\firefox.exe&)
& & os.environ[&webdriver.firefox.bin&] = firefox_bin
& &
& & # 使用从别的机器上拷贝来的浏览器配置
& & firefox_profile = webdriver.FirefoxProfile(os.path.abspath(r&D:\Temp\selenium2\Profiles\mm9zxom8.default&))
& & # 使用本地的默认配置
& & #firefox_profile = webdriver.FirefoxProfile(r&C:\Users\eli\AppData\Roaming\Mozilla\Firefox\Profiles\mm9zxom8.default&)
& & driver = webdriver.Firefox(firefox_profile=firefox_profile)
& & driver.get(&&)
& & driver.get(&&)
& & '''
& & driver.close()
& & driver.quit()
& & driver = None
& & '''
def start_chrome_with_default_settings():
& & &&&启动Firefox浏览器, 使用本地配置文件中的选项配置浏览器&&&
& & tempDir = os.getcwd()
& & tempDir = os.path.split(tempDir)[0]
& & chrome_driver = chrome_driver_file = os.path.join(os.path.join(tempDir,&Files&), &chromedriver.exe&)& && &&&
& & os.environ[&webdriver.chrome.driver&] = chrome_driver
& &
& & chrome_options = webdriver.ChromeOptions()
& & chrome_options.add_argument(&--test-type&)
& & #chrome_options.add_argument(&user-data-dir=&+os.path.abspath(r&D:\Temp\selenium2\User Data&))
& & chrome_options.add_argument(&user-data-dir=&+os.path.abspath(r&C:\Users\eli\AppData\Local\Google\Chrome\User Data&))
& & driver = webdriver.Chrome(executable_path=chrome_driver,
& && && && && && && && && &&&chrome_options=chrome_options)
& & driver.get(&&)
& &
if __name__ == &__main__&:&&
& & # 2.启动浏览器时自动加载插件, 如Firefox -& F Chrome -& Chrome to Mobile
& & # start_firefox_with_firebug_plug()
& & # start_chrome_with_chrometomobile_plug()
& & # start_firefox_with_default_settings()
& & start_chrome_with_default_settings()
& &
& & # 1.启动各种浏览器
& & #startFirefox()
& & #startFirefoxWithSpecificLocation()
& & #startChrome()
& & #startIE()& & 复制代码
启动IE后,提示无法找到name=q 的查询输入框,但是,使用Firefox可以找到。&&
注册会员, 积分 91, 距离下一级还需 109 积分
论坛徽章:3
金牌会员, 积分 2341, 距离下一级还需 659 积分
论坛徽章:33
正在学习python 中
注册会员, 积分 99, 距离下一级还需 101 积分
论坛徽章:2
厉害,python& &java 基础都很薄弱。
金牌会员, 积分 1193, 距离下一级还需 1807 积分
论坛徽章:8
新手上路, 积分 1, 距离下一级还需 49 积分
论坛徽章:0
本帖最后由 testbot 于
11:08 编辑
楼主我用的是python2.7用了你打开本地firefox的方法打开的还是以安装的那个不是绿色版的那个
(22.48 KB)
11:07 上传

我要回帖

更多关于 python自动化测试用例 的文章

 

随机推荐