ClearBrowserCache fails if provide userProfile
Posted: Thu Jun 02, 2016 7:47 pm
Hi,
I have a question regarding the usage of Host.ClearBrowserCache() method. It has an overload that takes 'userProfile' string as a parameter. But when I'm passing my profile name it fails although the profile actually exists
Which format of the profile name does it expect? I pass it simply as a profile name (e.g. 'test_profile')
P.S. I use FireFox
I have a question regarding the usage of Host.ClearBrowserCache() method. It has an overload that takes 'userProfile' string as a parameter. But when I'm passing my profile name it fails although the profile actually exists
Code: Select all
No firefox profile found matching the display name '{myprofilename_goes_here}'
at Ranorex.Core.Utils.Domain.Browser.GetFirefoxProfiles(String dir)
at Ranorex.Core.Utils.Domain.Browser.DoForAllFirefoxProfilesIn(SpecialFolder folder, RxAction`1 action)
at Ranorex.Core.Utils.Domain.Browser.PrepareFirefox()
at Ranorex.Core.Utils.Domain.Browser.<GetBrowserPrepareStrategies>b__69_2()
at Ranorex.Core.Utils.Domain.Browser.Prepare()
at Ranorex.Host.ClearBrowserCache(String browserName, String userProfile)
P.S. I use FireFox