Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» why do i get this error
Sun Apr 23, 2017 9:43 pm by anbarasi

» wait property
Sun Apr 23, 2017 12:50 pm by anbarasi

» What is the use of Selenium Remote Control
Fri Apr 21, 2017 7:24 pm by azharuddin

» How can I fix it? TCP PORT Exhaustion
Wed Apr 19, 2017 3:29 pm by JohnSnow

» Difference between QTP, Selenium and Silk test
Wed Apr 19, 2017 2:30 pm by Basilios Will

» Locator for google document
Tue Apr 18, 2017 10:01 pm by SergeyK

» I encountered a mistake: Couldn't register this node
Sat Apr 15, 2017 9:06 pm by skyshine725

» Current version tutorial for just creating a browser instance - Visual Studio
Fri Apr 14, 2017 2:47 am by KilpAr

» cant able to select drop down otions
Thu Apr 13, 2017 6:08 pm by anbarasi

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Where does selenium script pick browser from

View previous topic View next topic Go down

Where does selenium script pick browser from

Post by rishabhg 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.

rishabhg

Posts : 2
Join date : 2013-11-11

Back to top Go down

Re: Where does selenium script pick browser from

Post by janbaskt on Tue Dec 06, 2016 1:52 pm

i am facing the run the script at local host, how can i resolve it .

janbaskt
Active particpant
Active particpant

Posts : 10
Join date : 2016-11-21

http://www.janbasktraining.com/selenium-testing-course/

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum