Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 97762

How to pack chromedriver.exe on Mac

$
0
0

I'm trying to use Selenium on Electron app and am using the following modules:

"chromedriver": "^78.0.1",
"selenium-webdriver": "^4.0.0-alpha.4",
"electron-builder": "^21.2.0",

I built my app on a Mac and Selenium is working fine. However, when I run Electron Selenium app on Widows it can't find chromedriver.

react-electron/node_modules/chromedriver is below.

enter image description here

Of course it doesn't have chromedriver.exe, so I put chromedriver.exe into chromedriver/bin. Then I built it again but the built app doesn't include chromedriver.exe. How can I pack chromedriver.exe into the built app?

I applicate your help.


Viewing all articles
Browse latest Browse all 97762

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>