Bottom Page

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.
Quote
#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
Quote
#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
Quote

Top Page

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

Forum Jump:


Users browsing this thread: 1 Guest(s)