File tree Expand file tree Collapse file tree 2 files changed +20
-1
lines changed 
website_and_docs/content/documentation/webdriver/browsers Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,16 @@ options.profile = FirefoxProfile()
135135driver = FirefoxDriver(options)
136136  {{< /tab >}}
137137{{< /tabpane >}}
138- 
138+ ** Note** : Whether you create an empty ` FirefoxProfile `  or point it to the directory of your own profile, Selenium
139+ will create a temporary directory to store either the data of the new profile or a copy of your existing one. Every
140+ time you run your program, a different temporary directory will be created. These directories are not cleaned up
141+ explicitly by Selenium, they should eventually get removed by the operating system. However, if you want to remove
142+ the copy manually (e.g. if your profile is large in size), the path of the copy is exposed by the ` FirefoxProfile ` 
143+ object. Check the language specific implementation to see how to retrieve that location.
144+ 
145+ If you want to use an existing Firefox profile, you can pass in the path to that profile. Please refer to the official
146+ [ Firefox documentation] ( https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data#w_how-do-i-find-my-profile ) 
147+ for instructions on how to find the directory of your profile.
139148
140149## Service  
141150
Original file line number Diff line number Diff line change @@ -139,6 +139,16 @@ driver = RemoteWebDriver(options)
139139{{< /tabpane >}}
140140</div >
141141
142+ ** Note** : Whether you create an empty ` FirefoxProfile `  or point it to the directory of your own profile, Selenium
143+ will create a temporary directory to store either the data of the new profile or a copy of your existing one. Every
144+ time you run your program, a different temporary directory will be created. These directories are not cleaned up
145+ explicitly by Selenium, they should eventually get removed by the operating system. However, if you want to remove
146+ the copy manually (e.g. if your profile is large in size), the path of the copy is exposed by the ` FirefoxProfile ` 
147+ object. Check the language specific implementation to see how to retrieve that location.
148+ 
149+ If you want to use an existing Firefox profile, you can pass in the path to that profile. Please refer to the official
150+ [ Firefox documentation] ( https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data#w_how-do-i-find-my-profile ) 
151+ for instructions on how to find the directory of your profile.
142152
143153## Service  
144154
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments