Comments (6)
每个浏览器进程都要独立端口和文件夹,不能同时共用。把用户文件夹复制一个用吧。
from drissionpage.
由于要复用同一个用户的浏览数据,但又不好判断上一个进程是否结束,所以只能这样设置。有没有办法在冲突的时候直接就不启动新的窗口或者关闭打开的新窗口呢?
from drissionpage.
现在的版本quit()后要等2秒才能正真结束浏览器,下个版本会修复这个问题。
from drissionpage.
问题不在这,使用page.quit()尝试关闭新打开的空白窗口时会报错UnboundLocalError: local variable 'page' referenced before assignment
from drissionpage.
我意思是前一个浏览器关闭时等几秒。不然接管不了,自然不能对空白窗口quit()了。
from drissionpage.
最新版3.2.32已发布,quit()可自动浏览器进程完全关闭。
from drissionpage.
Related Issues (20)
- 丢失浏览器连接 HOT 2
- Temp file fills up very very fast ! HOT 1
- 关于网页返回的问题 HOT 3
- timeout参数不生效 HOT 1
- 关于控制手机浏览器的问题 HOT 3
- 下载文件无法重命名 HOT 2
- 录屏底层采用的截图函数,cdp报超时异常,这种异常无法捕获
- page.get_tab()返回值问题
- 在执行 page.quit() 操作时,会出现TimeoutError
- 我在使用了hide()方法隐藏了窗口之后,在get完之后 会出现白屏 HOT 2
- Reloading a Specific Section ('div') of a Website Without Refreshing the Whole Page in DrissionPage
- 使用快代理插件的问题
- how to disable-mime-sniffing in drissionpage ?
- 龙蜥os上DrissionPage不能和cv2或者ddddocr同时导入,一起导入就报错
- cant op HOT 1
- .
- 监听数据失败,获取cookies为空,必须清除缓存才能成功获取
- 跳转新标签 无法监听网络数据
- 使用无头模式 会弹出一个白窗 alttab选不了这个白窗 HOT 4
- 切换tab多好用啊,为啥要删掉,现在get_tab一点都不好用,我怎么切换到main_tab呢???很无语!搞了好久!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from drissionpage.