Advertisement
Guest User

Untitled

a guest
Nov 27th, 2014
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. Access to the path 'C:Users[User]AppDataLocalTempanonymous112638264.webdriver-profile' is denied
  2.  
  3. <requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
  4.  
  5. FirefoxProfileManager profileMan = new FirefoxProfileManager();
  6. FirefoxProfile fp = profileMan.GetProfile("SELENIUM"); //I've set up another FF profile
  7. FirefoxDriver firefox = new FirefoxDriver(fp); //Triggers error
  8. firefox.Navigate().GoToUrl("http://google.com");
  9.  
  10. FirefoxDriver firefox = new FirefoxDriver();
  11. firefox.Navigate().GoToUrl("http://google.com"); //Triggers error
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement