I am currently working on a python script in my raspberry pi B+, but i am having some difficulties on geting a headless browser to work. Is something missing ?
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.firefox.options import Options
import time
options = Options()
options.add_argument("--headless")
driver = webdriver.Firefox(firefox_options=options, executable_path=r'/usr/local/bin/geckodriver')
driver.get('https://www.google.com')
Instead of opening getting the headless browser , it just opens the browser on normal mode...no errors are found.