Using Slenium with python webdriver and firefox (Ubuntu).
I am trying to switch to frame in zoho mail, but i get this error:

Message: u'Permission denied for <https://personal.zoho.com> to get
property HTMLIFrameElement.name'
The frame def:

<iframe width="100%" height="100%" frameborder="0" style="
background-color:#FFFFFF;overflow:auto"
src="https://zmail.zoho.com/mail/index.do?top=false&amp;reusewms=true&amp;istp=zb&amp;zburl=https://personal.zoho.com"
id="1428368000000003029right"></iframe>

At the beginning i got this error:

Message: u'Permission denied for <https://personal.zoho.com> to get
property Window.frameElement'

but , setting fireforx profile like below, replace the problem with the
current one.


profile.set_preference("capability.policy.default.Window.QueryInterface",
"allAccess")

profile.set_preference("capability.policy.default.Window.frameElement.get",
"allAccess")

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to selenium-users@googlegroups.com.
To unsubscribe from this group, send email to selenium-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/bLDgWtuxA4EJ.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
groupselenium-users @
categoriesselenium
postedNov 11, '12 at 11:01a
activeNov 11, '12 at 11:01a
posts1
users1
websiteseleniumhq.org

1 user in discussion

Steve kyrn: 1 post

People

Translate

site design / logo © 2022 Grokbase