Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

265
Visualizações
How to set up Selenium in Node on OS X

After following the instructions in the Mozilla Developer Network for setting up a Selenium testing environment, I have two questions (since all of the instructions I've researched everywhere are vague):

  1. Which version of GeckoDriver and ChromeDriver am I supposed to download? (I have a MacOS running Big Sur v. 11.6.)

  2. Per the MDN instructions, I am supposed to put these drivers inside my /Users/<personal name> folder. Then open up my .bash_profile file in a terminal shell and type the following in the bottom of the file: export PATH=$PATH:/Users/<personal name>. That's all that is described but I feel like more is supposed to be typed here. Should there be?

After following these instructions, and typing echo $PATH, this path is returned:

/Users/<personal name>/.nvm/versions/node/v16.11.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Users/<personal name>/.nvm/versions/node/v16.11.0/bin:/Users/<personal name>/geckodriver-0.30.0:/Users/<personal name>

Seems like the path is running all over the place.

And when I run a gecko-test.js file to run a Firefox simulation with node gecko-test, I get this response:

Error: The geckodriver executable could not be found on the current PATH. Please download the latest version from http://github.com/mozilla/geckodriver/releases/ and ensure it can be found on your PATH.
about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda