Selenium Forum: Functional And Regression Testing Tool.
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
Display results as :
Advanced Search
Latest topics
AEM Training | Free Online DemoWed Apr 21, 2021 5:45 pmazharuddin
c# PageFactory - issue initializing elementsFri Nov 01, 2019 8:40 pmthegoatboy
Selenium making automatic connection to random urlsMon Jul 08, 2019 12:58 pmrepairtechsolutions1
How can we design the custom framework in Selenium RCMon Jun 24, 2019 2:26 pmrandybonnettes
What are the new features in Selenium 3.0Tue Jun 18, 2019 5:37 pmpappyvicky
What are you using Selenium for? Fri Apr 12, 2019 3:52 amzhl
LIMITATIONS OF SELENIUMWed Apr 10, 2019 11:23 amswara
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Go down
avatar
Love Sharma
Regular Participant
Regular Participant
Posts : 27
Join date : 2012-06-01

Temporary FireFox Profile using Selenium WebDriver Empty Temporary FireFox Profile using Selenium WebDriver

Mon Jun 04, 2012 2:03 pm
Hi,

I have saved one firefox profile on my disk and then always open it via code(by giving it's disk path).
As a result it always open my driver in this saved firefox profile.

But even if it opens my saved firefox profile, it makes a copy of temporary profile and place it at "C:\Users\lovekesh.sharma\AppData\Local\Temp" everytime I run my test.

Problem: Why is it creating temporary firefox profile if I want to use my already saved profile from disk?

Pls suggest.

Thanks,
Lovekesh
avatar
Love Sharma
Regular Participant
Regular Participant
Posts : 27
Join date : 2012-06-01

Temporary FireFox Profile using Selenium WebDriver Empty Re: Temporary FireFox Profile using Selenium WebDriver

Mon Jun 04, 2012 5:20 pm
Resolved the problem:
1. Configure your profile so that it clear all cookies and temporary files when browser gets closed
2. use driver.quit in your @AfterTest

Thanks,
Lovekesh
Back to top
Permissions in this forum:
You cannot reply to topics in this forum