Selenium server causing firefox to crash -
current problem
i'm running automated selenium scripts every night. noticed firefox 38 crashing , nothing being listed in firefox logs.
clicking "restart" firefox means tests run fine.
is there anyway debug , find going on firefox crashing?
firefox error report: https://crash-stats.mozilla.com/report/index/fdba810a-1980-45ea-b64b-0e8c62150604 
current solution
since "restart firefox" selected, using xdotool button clicked sending enter key. (note: set appropriate display, export display=:1). executing bash script cron contains following section of code:
export java_home=/usr/lib/jvm/java-7-openjdk-amd64 export path=$path:/usr/lib/jvm/java-7-openjdk-amd64/bin export display=":99" java -jar /home/m/selenium-server-standalone-2.45.0.jar -htmlsuite "*firefox" "http://www.google.com" "selenium/2_suite.html" "test_results/2_results.htm" & sleep 5 xdotool key kp_enter wait update
except simulating enter key restart firefox , run tests, i'v disabled future updates on headless automated testing vm using https://support.mozilla.org/en-us/questions/1003777 .
selenium works on firefox version 33.0 or below. not update fire fox, selenium not work on firefox 36.0.
Comments
Post a Comment