Comments (3)
我升级到117.0.5938.6,测试以下代码,工作正常。
from DrissionPage import ChromiumPage, ChromiumOptions
co = ChromiumOptions().set_headless()
p = ChromiumPage(co)
p.get('https://www.baidu.com')
print(p.title)
p.quit()
from drissionpage.
Your test code doesn't work for me either, strange.
options.set_headless(True)
(1 browser) = 88% CPU usage
#options.set_headless(True)
(1 browser) = 0.2% CPU usage.
I think the latest version of chrome is just broken.
It was working perfectly before the auto update lol
from drissionpage.
Downgrading chrome fixed the issue, so I will make as resolved
from drissionpage.
Related Issues (20)
- 模拟点击login的button后会页面会刷新成一个新的页面,我想获取新页面的DOM元素,请问要怎么操作。 HOT 1
- Run in virtual display on Linux (BrowserConnectError) HOT 1
- run_cdp() takes 2 positional arguments but 3 were given HOT 1
- How to pass cloudflare challenge in headless mode? HOT 2
- 我是部署在容器中的,但是截图中文是乱码,怎么解决? HOT 2
- Chromium Page in AWS Lambda HOT 1
- How to multiple instances? HOT 3
- 问题求助:如何得到某页面加载完成后的源码 HOT 2
- 问题求助:能否挂代理使用脚本 HOT 1
- How do you proxy with auth:password. now its does not work HOT 11
- get可以绕过cloudflare,download无法成功 HOT 2
- ChromiumPage 或网页的代理身份验证不起作用 HOT 1
- 我如何才能每次都打开全新干净的 Chrome 浏览器? HOT 2
- get_screenshot 范围截图的坐标怎么获取 HOT 1
- unable to send js code via run_js HOT 1
- json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) HOT 2
- 如何能够同时开启多个互不干扰的浏览器实例 HOT 6
- run_cdp not working
- Element input start at wrong position HOT 3
- Author can you push the latest version to github so we can pull request? HOT 1
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.