![]() I have uninstalled and reinstalled but in vain. Firefox tabs keep crashing (Gah! your tab just crashed!!). I have Kali Linux running on Arm64 distro (my Android phone). Profile.add_extension(extension='https_everywhere-2019.1.31-an+fx.xpi')ĭriver = webdriver.Firefox(firefox_profile=profile) Then you can instantiate a driver using that profile.įor example, this will launch Firefox with a newly created profile containing the "HTTPS Everywhere" extension: from selenium import webdriver create a FirefoxProfile() and use the add_extension() method to add the extension. You can install the Extension each time you instantiate the driver.įirst, download the extension (XPI file) you want from. The other Selenium WebDriver language bindings have similar mechanisms for creating profiles and adding extensions. Note: OP didn't specify a language, so this answer is for Python. You need to launch geckdriver with an exisitng profile by specifying the profile path of firefoxįor python you can do it by this: profile = FirefoxProfile('/home/student/.mozilla/firefox/gwi6uqpe.Default') // change this pathīrowser = webdriver.Firefox(firefox_profile=profile)įor C# you can do this: string path = ffprofile = new FirefoxProfile(path)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |