简体   繁体   English

Python硒驱动器

[英]Python Selenium CHROMEDRIVER

So I'm currently using chromedriver for selenium with Python, responses are quite slow, so I'm trying to reduce how much chromedriver loads.. 因此,我目前正在将chromedriver用于Python中的硒,响应速度很慢,因此我尝试减少chromedriver的负载。

is there anyway I can remove the address bar, tool bar and most of the gui from chrome its self using chrome arguments? 无论如何,我可以使用chrome参数从chrome自身中删除地址栏,工具栏和大多数gui吗?

I don't think hiding the address bar and other GUI elements will have any effect. 我认为隐藏地址栏和其他GUI元素不会有任何效果。 I would like to suggest using PhantomJS, a headless browser without a GUI at all. 我想建议使用PhantomJS,这是一款完全没有GUI的无头浏览器。 This will certainly speed up your tests. 这肯定会加快您的测试速度。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM