Closed wjxway closed 6 years ago
Thanks.
Unfortunately that opens a "Command Prompt" window for me, which I don't like to see.
Does StartProcess
work for you?
For example:
StartProcess["D:\\test\\钨\\chromedriver.exe"]
I used the above solution which seems to work for me.
Please note that I had to rename the package from WebUnit
to WebTools
(to avoid a compatibility issue with an upcoming release of 11.3)
This also means you have to use InstallWebTools
instead of InstallWebUnit
In the switch case in
InstallWebUnit[driver_]
, I suggest to change the code for windows to:Or else Chinese characters in
dir
would lead to initialization failure.