You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import os
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.firefox.firefox_binary import FirefoxBinary
from selenium.webdriver.firefox.service import Service
2022-01-15T15:00:48.336875+00:00 app[worker.1]: Traceback (most recent call last):
2022-01-15T15:00:48.336896+00:00 app[worker.1]: File "/app/main.py", line 31, in
2022-01-15T15:00:48.337031+00:00 app[worker.1]: start()
2022-01-15T15:00:48.337041+00:00 app[worker.1]: File "/app/main.py", line 25, in start
2022-01-15T15:00:48.337106+00:00 app[worker.1]: driver = load_driver()
2022-01-15T15:00:48.337115+00:00 app[worker.1]: File "/app/main.py", line 20, in load_driver
2022-01-15T15:00:48.337174+00:00 app[worker.1]: firefox_driver = webdriver.Firefox(service=serv,options=options)
2022-01-15T15:00:48.337184+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/selenium/webdriver/firefox/webdriver.py", line 174, in init
2022-01-15T15:00:48.337279+00:00 app[worker.1]: self.service.start()
2022-01-15T15:00:48.337287+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/selenium/webdriver/common/service.py", line 98, in start
2022-01-15T15:00:48.337361+00:00 app[worker.1]: self.assert_process_still_running()
2022-01-15T15:00:48.337369+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/selenium/webdriver/common/service.py", line 110, in assert_process_still_running
2022-01-15T15:00:48.337441+00:00 app[worker.1]: raise WebDriverException(
2022-01-15T15:00:48.337483+00:00 app[worker.1]: selenium.common.exceptions.WebDriverException: Message: Service /app/vendor/geckodriver/geckodriver unexpectedly exited. Status code was: 64
Trace-level log
The text was updated successfully, but these errors were encountered:
KillerGoyal
changed the title
i am trying to host my selenium firefox automation project on heroku and its giving me same error can u please tell what should i do?? i am using this buildpack ---> https://github.com/pyronlaboratory/heroku-integrated-firefox-geckodriver
i am trying to host my selenium firefox automation project on heroku and its giving me same error , please tell what should i do??
Jan 15, 2022
System
Testcase
import os
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.firefox.firefox_binary import FirefoxBinary
from selenium.webdriver.firefox.service import Service
def load_driver():
options = webdriver.FirefoxOptions()
def start():
driver = load_driver()
driver.get("https://www.google.com/")
print(driver.title)
driver.close()
if name == "main":
start()
Stacktrace
2022-01-15T15:00:48.336875+00:00 app[worker.1]: Traceback (most recent call last):
2022-01-15T15:00:48.336896+00:00 app[worker.1]: File "/app/main.py", line 31, in
2022-01-15T15:00:48.337031+00:00 app[worker.1]: start()
2022-01-15T15:00:48.337041+00:00 app[worker.1]: File "/app/main.py", line 25, in start
2022-01-15T15:00:48.337106+00:00 app[worker.1]: driver = load_driver()
2022-01-15T15:00:48.337115+00:00 app[worker.1]: File "/app/main.py", line 20, in load_driver
2022-01-15T15:00:48.337174+00:00 app[worker.1]: firefox_driver = webdriver.Firefox(service=serv,options=options)
2022-01-15T15:00:48.337184+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/selenium/webdriver/firefox/webdriver.py", line 174, in init
2022-01-15T15:00:48.337279+00:00 app[worker.1]: self.service.start()
2022-01-15T15:00:48.337287+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/selenium/webdriver/common/service.py", line 98, in start
2022-01-15T15:00:48.337361+00:00 app[worker.1]: self.assert_process_still_running()
2022-01-15T15:00:48.337369+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.9/site-packages/selenium/webdriver/common/service.py", line 110, in assert_process_still_running
2022-01-15T15:00:48.337441+00:00 app[worker.1]: raise WebDriverException(
2022-01-15T15:00:48.337483+00:00 app[worker.1]: selenium.common.exceptions.WebDriverException: Message: Service /app/vendor/geckodriver/geckodriver unexpectedly exited. Status code was: 64
Trace-level log
The text was updated successfully, but these errors were encountered: