Python Forum
Selenium Web Driver Exe not running in other PC's
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Selenium Web Driver Exe not running in other PC's
#1
Hi All,

I have done some web application based automation using selenium with IE webdriver. It's working fine in my PC.
I have defined Webdriver path in my code only. Exe using pyinstaller is also working fine in my PC But when i am trying to run that exe in other PC,it's giving error. ("NO MODULE NAME SELENIUM").
I understood error for my first line of the code,where i am importing selenium. (*from selenium import webdriver*)-Considering Webdriver as unknown.
Any help how can i create one exe file using selenium, which interact the webdriver path by itself & run other PC's too?

Thanks in advance.
Reply
#2
selenium needs to be installed, and also requires either chromedriver for chrome, or gekodriver for firefox.
These will have to be installed on the target PC.
selenium can be installed with pip:
pip install selenium
chromedriver can be downloaded here: http://chromedriver.chromium.org/downloads
and gekodriver here: https://github.com/mozilla/geckodriver/r...ag/v0.24.0

the driver must be made viable in the path, or location specified in selenium, see: https://python-forum.io/Thread-Web-scraping-part-2
Reply
#3
(Feb-28-2019, 03:31 PM)Utkarsh29 Wrote: Exe using pyinstaller is also working fine in my PC But when i am trying to run that exe in other PC,it's giving error. ("NO MODULE NAME SELENIUM").
Look at this post
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  error when running headless selenium julio2000 2 4,508 Feb-01-2020, 12:41 PM
Last Post: julio2000
  selenium - chrome crashes when chrome is running. RvBVakama 4 15,189 Dec-16-2018, 06:32 PM
Last Post: metulburr
  Selenium driver.get() does not work RvBVakama 2 12,579 Dec-14-2018, 04:48 AM
Last Post: RvBVakama
  selenium not running firefox Sanlus 5 4,822 Aug-31-2018, 10:37 PM
Last Post: snippsat
  Error in Selenium: CRITICAL:root:Selenium module is not installed...Exiting program. AcszE 1 3,588 Nov-03-2017, 08:41 PM
Last Post: metulburr
  Selenium chrome driver not returning solution Prince_Bhatia 0 3,533 Jul-06-2017, 06:40 AM
Last Post: Prince_Bhatia
  Running a selenium test using data from spreadsheet (have problem iterating...) danw32 0 3,074 Mar-07-2017, 12:40 PM
Last Post: danw32
  Issues running Selenium to download zip file davehughes87 4 6,251 Jan-12-2017, 02:19 PM
Last Post: metulburr

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020