Unable to Open an Python Selenium exe file in Windows 10

Viewed 147

I Have converted a Python Selenium file into .exe using pyinstaller. However when I open the file the CMD screen flashes and Thats It, The GUI screen to run the executable file is not observed. My Code uses inputs from An Excel

Pre - Condition which I followed

  • Web Driver path is updated to the path where the Exe file is located
  • Changed the Excel path to the folder where EXE file is located

Could you help me with this option?

Intent: Trying to Distribute my automation script to my Peers for Testing purpose

1 Answers

You probably cant specify the webdriver path like this, since the path differs from computer to computer. try to input it in the same folder all together and then let the path field for the path of the webdriver free. might or might not work

Related