Take the 2-minute tour ×  SeleniumException: ERROR: Command
execution failure. Please search the forum at
http://clearspace.openqa.org for error details from the log
window. The error message is: Permission denied.  Although my
test runs perfectly in Firefox and also in IE when running in
Debug mode, in IE in Run mode it fails with the error message
above. selenium.waitForPageToLoad("20000"); doesn't seem to be a
solution.  Any other ideas?  share|improve this question I was
facing the same problem becuase I was using *iexploreproxy
instead of *iexplore when initiating the selenium object. – 
user940778 Sep 12 '11 at 14:31 add comment  2 Answers  up vote 1
down vote accepted  What command is failing with the Permission
Denied? It may be when trying to access something that doesn't
exist yet. I would recommend using the waitForCondition command
to ensure the target element is present/visible before
attempting to interact with it.  share|improve this answer add
comment  I used Thread.currentThread().sleep(1000)