I have a question about compiling the Python web driver.

Asked 2 years ago, Updated 2 years ago, 14 views

A program created by Python was compiled into an launcher file. It's a program using selenium, but the problem is that I compiled it with onefile with a web driver, but the chrome driver I'm using doesn't compile with me. So, it only runs when the Chrome driver file is in the Executor folder, so is there a way or other way to compile the Chrome driver together?

python

2022-09-22 08:34

1 Answers

It is a separate external file and must be distributed separately.

In such cases, installers such as nsis can be used to create and deploy the installer.

To make it simple, you can also distribute the executable and driver together in a compressed file. The user should decompress and use it.


2022-09-22 08:34

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.