Go down
Posts : 2
Join date : 2013-11-11

Where does selenium script pick browser from

on Mon Nov 11, 2013 6:41 pm
I am using Windows and I have a perl based selenium script with the following statement :

$sel = Test::WWW::Selenium->new( host => "localhost",
                                port => 4444,
                                browser => "*chrome",
                                browser_url => $ARGV[0]/" );

So, I need the firfox browser to open up a custom profile. To do that i have configured a firefox shortcut with the -P "profilename" appended to target. Now how do i make Selenium open the firefox browser using the custom firefox shortcut. Is there an environment variable that i can set up to include the path of the custom shortcut to ensure that the browser thrown by my Selenium script uses the firefox profile that i need.

P.S. I cannot change the call to Test::WWW::Selenium->new to include the absolute URL of the browser.
Active particpant
Active particpant
Posts : 11
Join date : 2016-11-21

Re: Where does selenium script pick browser from

on Tue Dec 06, 2016 1:52 pm
i am facing the run the script at local host, how can i resolve it .
Back to top
Permissions in this forum:
You cannot reply to topics in this forum