Load extension When Firefox is started in the Robot framework

Source: Internet
Author: User
Introduction:
One day in the study of HttpWatch, want to write a simple library to the robot Framework, so you can test the front page of the corresponding time, you can also grab packet data
HttpWatch only support IE and Firefox, simple to write a few keywords after the successful test in IE browser, in Firefox failed
Discover that when Webdriver starts Firefox, the httpwatch extension can be loaded, so, try to get him to load it up.
###################################################################
1, first, open your Firefox, go to the extension you want to load, plug-ins, all open, you do not want, all disabled, as shown below, I only left a

2. Enter About:support in the address bar, see the Configuration folder, click "Open Folder", as shown below

After that, a folder is opened and the directory of this folder is recorded (mine is "C:\Users\ my user name \appdata\roaming\mozilla\firefox\profiles\nui9qerz.default"), Is the Firefox configuration directory, a moment to win the RF boot time, the configuration tells the RF can be
3. Open your Ride and write
Open Browser http://www.google.com ff ff_profile_dir=c:\\users\\ my user name \\AppData\\Roaming\\Mozilla\\Firefox\\ Profiles\\nui9qerz.default
(notice, change "\" to "\" Oh)
4. Run up and see if it is loaded, as shown below

Well, it appears to be so easy.

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.