Python+selenium Automated Testing-browser driven

Source: Internet
Author: User

The Selenium control browser needs to download the corresponding version of the driver and unzip the downloaded driver and then copy it to the Python installation directory.

1. Chrome

Drive the corresponding version and; https://npm.taobao.org/mirrors/chromedriver/

2. Firefox

Drive; https://github.com/mozilla/geckodriver/releases/

3. IE

Drive; http://www.cr173.com/soft/195732.html

enable protected mode for IE

Open ie--"Set--" Internet Options--"security--" to enable the protection mode before the check, 4 need to check all or all unchecked, otherwise the following errors will be reported;

"Protected Mode settings is not the same for all zones. Enable Protected Mode must is set to the same value (enabled or disabled) for all zones. "

Python+selenium Automated Testing-browser driven

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.