I am using geckodriver in the following code:
import time
from selenium import webdriver
from selenium.webdriver.firefox.options import Options
url = 'https://www.idealista.com/venta-viviendas/barcelona/eixample/la-dreta-de-l-eixample/?ordenado-por=fecha-publicacion-desc'
options = Options()
options.headless = False
driver = webdriver.Firefox(options=options, executable_path='/home/kevin/Desktop/Inmosoft/geckodriver')
driver.get(url)
time.sleep(10)
but everytime i try to execute i have this error:
I've tried to create another profile in firefox by using firefox -P
following the information in this link https://support.mozilla.org/en-US/kb/how-run-firefox-when-profile-missing-inaccessible.
It looks like geckodriver is a complete different instance than firefox and it does not uses the same profile, how can i bypass this error and create a profile when using geckodriver?