Giter VIP home page Giter VIP logo

Comments (6)

g1879 avatar g1879 commented on September 21, 2024

每个浏览器进程都要独立端口和文件夹,不能同时共用。把用户文件夹复制一个用吧。

from drissionpage.

songge8 avatar songge8 commented on September 21, 2024

由于要复用同一个用户的浏览数据,但又不好判断上一个进程是否结束,所以只能这样设置。有没有办法在冲突的时候直接就不启动新的窗口或者关闭打开的新窗口呢?

from drissionpage.

g1879 avatar g1879 commented on September 21, 2024

现在的版本quit()后要等2秒才能正真结束浏览器,下个版本会修复这个问题。

from drissionpage.

songge8 avatar songge8 commented on September 21, 2024

问题不在这,使用page.quit()尝试关闭新打开的空白窗口时会报错UnboundLocalError: local variable 'page' referenced before assignment

from drissionpage.

g1879 avatar g1879 commented on September 21, 2024

我意思是前一个浏览器关闭时等几秒。不然接管不了,自然不能对空白窗口quit()了。

from drissionpage.

g1879 avatar g1879 commented on September 21, 2024

最新版3.2.32已发布,quit()可自动浏览器进程完全关闭。

from drissionpage.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.