Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

Learn More

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

  • 1 réponse
  • 3 ont ce problème
  • 4 vues
  • Dernière réponse par 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.

Toutes les réponses (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.