Python selenium webdriver How to start the Chrome browser

Source: Internet
Author: User
Tags webp

No nonsense, go directly to the topic, this time demonstrates how to start Chrome, and specify the default profile


Download Chromedriver

Address: http://chromedriver.storage.googleapis.com/index.html?path=2.33/


Special Note: Look Notes.txt Note the version number must match Ah, if the chromedriver version and your Chrome version does not match it may not start!!!!!


Actual combat code

( can run code please follow the public number, then in the public number to reply "Test help Diary" to get, not in this article reply Ah )

From selenium import Webdriver

650) this.width=650; "Src=" https://mmbiz.qpic.cn/mmbiz_png/ icgsknubvvjgqquia2z2xgybsuexdyjgftkoos8zhfwiabvyckhwjxw9wdh9w35vtsnl5w4adegtkwibrg0kbpyv9a/640?wx_fmt=png& Tp=webp&wxfrom=5&wx_lazy=1 "style=" Margin:0px;padding:0px;height:auto;width:auto; "alt=" 640?wx_fmt=png &tp=webp&wxfrom=5&wx_lazy= "/>

Two-dimensional code QQ Group Two-dimensional code

650) this.width=650; "height=" "width=" src= "https://mmbiz.qpic.cn/mmbiz_jpg/" Icgsknubvvjiagphla6gudk074wi1kk5kv9jfmhicbktxgiby7oickfruqg4qd3a7nlxicpg4lmi3bftvopnu61tz6g/640?wx_fmt=jpeg &tp=webp&wxfrom=5&wx_lazy=1 "style=" margin:0px;padding:0px;height:auto;width:140px; "alt=" 640?wx_fmt =jpeg&tp=webp&wxfrom=5&wx_lazy "/> 650) this.width=650;" height= "134" width= "134" src= "https:// mmbiz.qpic.cn/mmbiz_png/ icgsknubvvjgbcgym2dloxpbuicrzh136to9tuyjiclmtoh69ctgxb1ibqs9aqhp7g4gnxxs4xb2afvnia56pcjwtq/640?wx_fmt=png& Tp=webp&wxfrom=5&wx_lazy=1 "style=" MARGIN:0PX;PADDING:0PX;HEIGHT:AUTO;WIDTH:134PX; "alt=" 640?wx_fmt=png &tp=webp&wxfrom=5&wx_lazy= "/>


This article is from the "Cockroach Performance automation test brand" blog, please be sure to keep this source http://xqtesting.blog.51cto.com/4626073/1976078

Python selenium webdriver How to start the Chrome browser

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.