|
|
|
[
Permlink
| « Hide
]
xavs - 08/Jul/08 07:42 AM
the same happens with iexplorer: Error = Access Denied.
More info:
The field is there on a iFrame. Notice that the first call to isElementPresent does not appear to unleash an Exception. Maybe becuase of the asynchronous load of the page. Command request: click[//td[3]/table/tbody/tr/td[2]/div, ] on session 802cf307604e4caa8f076530c6118cb2 13:43:07.935 INFO - Got result: OK on session 802cf307604e4caa8f076530c6118cb2 13:43:07.939 INFO - Command request: isElementPresent[email, ] on session 802cf307604e4caa8f076530c6118cb2 13:43:07.948 INFO - Got result: OK,false on session 802cf307604e4caa8f076530c6118cb2 13:43:08.648 INFO - Started SocketListener on 0.0.0.0:64782 13:43:08.950 INFO - Command request: isElementPresent[email, ] on session 802cf307604e4caa8f076530c6118cb2 13:43:08.964 INFO - Got result: ERROR: Selenium failure. Please report to the Selenium Users forum at http://forums.openqa.org, with error details from the log window. The error message is: Permission denied to get property Window.document on session Did you search the forum for this issue? Did you try to use selectFrame?
If the iframe's source points to another (sub)domain, then the access to element properties in it violates cross-site scripting restrictions, thus the exception is correct. Use *chrome or *iehta as they have elevated privileges.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||