Skip to content

iframe support for cross domain #23

@carltondickson

Description

@carltondickson

Hi,

I'm having a bit of a problem running tests on my Facebook application where I'm trying to access the iframe's content I am getting the following error.

I managed to get a very basic test of the frame functionality working locally so perhaps this is because of some cross domain issue?

PHP Fatal error: Uncaught exception 'UnhandledWebDriverError' with message 'Permission denied for https://www.facebook.com to get property Window.frameElement
Build info: version: '2.19.0', revision: '15849', time: '2012-02-08 16:10:57'
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '3.0.0-16-generic', java.version: '1.6.0_23'
Driver info: driver.version: unknown' in /home/php-webdriver/WebDriverBase.php:48
Stack trace:
#0 /home/php-webdriver/WebDriverBase.php(182): WebDriverBase::throwException(13, 'Permission deni...', Array)
#1 /home/php-webdriver/WebDriverBase.php(224): WebDriverBase->curl('POST', '/frame', Array)
#2 /home/sandbox.php(28): WebDriverBase->__call('frame', Array)
#3 /home/sandbox.php(28): WebDriverSession->frame(Array)
#4 {main}

thrown in /home/php-webdriver/WebDriverBase.php on line 48

p.s. Thanks for the PHP implementation, follows the JSON protocol so has been easy to learn

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions