SeleniumException: ERROR: Command execution failure. Permission denied
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 mes开发者_StackOverflow中文版sage above. selenium.waitForPageToLoad("20000"); doesn't seem to be a solution.
Any other ideas?
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.
I used Thread.currentThread().sleep(1000); after the action that requires time to reload parts of the page. It seems to work, but not in all of the cases.
精彩评论