Search
 
 

Display results as :
 


Rechercher Advanced Search

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

How to load default Firefox profile for FirefoxWebDriver using Powershell

View previous topic View next topic Go down

How to load default Firefox profile for FirefoxWebDriver using Powershell

Post by AL|EN on Wed Oct 30, 2013 5:48 pm

Hi,


I try everything that is based on C# code examples but i can't load FirefoxWebDriver with my default profile. This is what i try:




$profile = New-Object OpenQA.Selenium.Firefox.FirefoxProfile -Property @{ProfileDirectory = "C:\Users\ALIEN\AppData\Roaming\Mozilla\Firefox\Profiles\2ziq4yrx.default"}


but it doesn't work because "ProfileDirectory" Property is marked as read only. How to change it using Powershell ?

AL|EN

Posts : 1
Join date : 2013-10-30

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