Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Learn More

getting error 'Firefox has stopped working' when close the window via selenium automatic testing script

  • 1 ответ
  • 3 имеют эту проблему
  • 4 просмотра
  • Последний ответ от guigs

more options

I am using selenium to do some automation testing activities, the firefox browser run fine but it always getting error 'Firefox has stopped working' in the last step when want to close the browser. i searched in google and looks like it's a common issue caused by due version update, i am using the latest one 55.0.3, when i tried to downgrade to 47.0, it was not compatible with the latest selenium. So i just want to know how to fix this error when close the window. thanks.

I am using selenium to do some automation testing activities, the firefox browser run fine but it always getting error 'Firefox has stopped working' in the last step when want to close the browser. i searched in google and looks like it's a common issue caused by due version update, i am using the latest one 55.0.3, when i tried to downgrade to 47.0, it was not compatible with the latest selenium. So i just want to know how to fix this error when close the window. thanks.

Все ответы (1)

more options

HI kelvin.zou, I know that this does not directly solve the issue with the issue in selenium, but it does try to achieve a similar task.

There is a headlessmode - https://developer.mozilla.org/en-US/F.../Headless_mode were you use Node.js to run the selenium test.

Check that out and let me know what you think.