Hi Krishnan, and thanks for your suggestion.
I wasn't sure if this was subtly different to the method I was using,
but it was worth trying.
I had to change this line:
Profile profile = new ProfilesIni().getProfile("
MySeleniumProfile");
to:
FirefoxProfile profile = new
ProfilesIni().getProfile(GenericTest.testLine[3]);
... to get it working, but it gets the same error as the
"System.SetProperty" method I mentioned below ... that is, I think
there is a file path/access issue, possibly because the plugin is
being run in a java based enviroment rather than just a windows one, I
think, so I'm trying to delve into the plugin code to see if I can
identify the error.
Also, it seems that the WAVE team don't allow automation of their
plugin by default, so I'm waiting for approval to use it with
Selenium.
Thanks
On Apr 23, 4:24 pm, Krishnan Mahadevan
<
krishnan.mahadevan1...@gmail.com> wrote:
> Peter,
> This should do the trick for you.
>
> DesiredCapabilities caps = DesiredCapabilities.firefox();
> Profile profile = new ProfilesIni().getProfile(" MySeleniumProfile");
> caps.setCapability(FirefoxDriver.PROFILE, profile);
> WebDriver driver = new FirefoxDriver(caps);
>
> Thanks & Regards
> Krishnan Mahadevan
>
> "All the desirable things in life are either illegal, expensive, fattening
> or in love with someone else!"
>
> On Mon, Apr 23, 2012 at 8:20 PM,
PeterJeffreyG...@Hotmail.co.uk <