Missing file in compiled selenium application

I wanted to compile a short script I sent to search for the text of the element or source of the current page , so that I could send it to someone who can check it on their computer.

I used the InnoIDE compiler, which worked well in the past.

Edit! I just realized that I was wrong when I said that it was compiled using InnoIDE - the THAT utility creates the installation ... the compiler I use is Py2Exe ... Sorry for my confusion!

It started and I got a compiled setup application - it started, but when I tried to run the actual script, I got an I / O error:

IOError: [Errno 21 No such file or directory: 'C:\\Sel_Test\\library.zip\\selenium\\webdriver\\firefox\\webdriver.xpi' 

What's happening? I checked the directory and webdriver.xpi is really missing!

Here is the dos window of the failed run:

enter image description here

Is it possible that I don't have selenium / webdriver loaded?

+4
source share

Source: https://habr.com/ru/post/1393671/


All Articles