Selenium Firefox boot prompt Import favorites

Source: Internet
Author: User

Selenium open Firefox open for Import Wizard issue resolution.
Open Discovery to the Import Wizard page.


Workaround:

PS: ( This method does work, but once you manually open Firefox you will need to modify the configuration file again.) )

Modify isrelative=1->isrelative=0 in the Profiles.ini file of Firefox


c:\users\{User name}\appdata\roaming\mozilla\firefox\profiles.ini



The following method has not been used, which crossing use can trouble reply under Thank you

Updates about the solution that opens selenium for the Import wizard. is still the startup file that handles Profiles.ini. If you use the above method, it will cause you to enter the Import Wizard page when you open it manually.

Default is
[PROFILE0]
Name=default
Isrelative=1
Path=profiles/ytwwfjbk.default
Default=1
The default modification of name will be the other name=default1.
The corresponding profile can be loaded by the following method.
Profilesini allprofiles = new Profilesini ();
Firefoxprofile profile=allprofiles.getprofile ("Default1");
Webdriver Driver = new Firefoxdriver ();


Selenium Firefox boot prompt Import favorites

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.