1

Geckodriver creates rust_mozprofile directory in '/tmp' directory.

There is a way to modify the path from '/tmp' to '/home' or some other location.

Could you please point me in right direction on how to do that.

Currently I am using

  • Selenium - 3.3.0
  • Firefox - 52.2.0
  • Geckodriver - 13
Yaswanth
  • 483
  • 1
  • 9
  • 25

1 Answers1

0

A solution is to use driver.quit() instead of driver.close()

As explained here

Another solution is to add a custom profile

fp = webdriver.FirefoxProfile('specify location to profile .default')
driver = webdriver.Firefox(firefox_profile=fp)
IKavanagh
  • 6,089
  • 11
  • 42
  • 47
K. Abhulimen
  • 137
  • 1
  • 13