leochabi / selenium-vba

Automatically exported from code.google.com/p/selenium-vba
0 stars 1 forks source link

Set execute_path for using PhantomJS with S-VBA #86

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Operating system : Windows 7
.Net Framework version : 4.x
Office Version : 2007
SeleniumWrapper version : 1.9.7

What is your issue ?
I work in an environment that has the individual computer systems locked down 
pretty thoroughly.  I can't alter the $PATH of a workstation nor place 
PhantomJS.exe into folders cited in the $PATH (they're all "program files" or 
"windows" folder references which we can't touch).  Selenium lets the 
executable_path variable be set to an explicit path like 
"C:\Temp\PhantomJS.exe".  Is it possible to do this with Selenium VBA?

Thanks!

PS: on *my* system, I have slightly elevated rights and can put PhantomJS.exe 
wherever I like, so I have everything functional and working on my system.  
Selenium VBA is fantastic!

Original issue reported on code.google.com by jimmap...@gmail.com on 20 Aug 2014 at 2:24

GoogleCodeExporter commented 8 years ago
The setup requires "User with power" rights to be launched.
Once the installation is done, there is no $PATH to define or file to copy and 
the use of PhantomJS is straightforward.

Original comment by florentbr on 21 Aug 2014 at 7:19

GoogleCodeExporter commented 8 years ago

Original comment by florentbr on 3 Oct 2014 at 1:37