Message-ID: <5M8cbL$afe@newsmth.net>
Subject: 在使用selenium打开一个浏览器时,怎么样使得浏览器不可见?
Date: Fri, 07 Feb 2014 13:17:58 +0000
From: bjhbycthc@newsmth.net-SPAM.no (流水)
Path: 74.82.202.154!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-cn.bbs.comp.network.programming.20141003.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin2!goblin.stu.neva.ru!news.neu.edu.cn!news.newsmth.net!NEWSMTH
Newsgroups: cn.bbs.comp.network.programming
Organization: 水木社区
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: NetPRG/w/M.1391779077.z0
Xref: 74.82.202.154 cn.bbs.comp.network.programming:13405

我使用 selenium 的过程是这样的:启动firefox浏览器,自动进入登录页面,自动填入用户名和密码,自动点击登录进入第二个页面。  
我的问题是:在登录页面可否先隐藏整个浏览器,等进入第二个页面时才显示整个浏览器?也就是说,直接显示登录后的页面,不让看到自动登录过程。  
非常感谢! 
--

※ 来源:·水木社区 http://www.newsmth.net·[FROM: 115.32.2.*]