Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'frame' object has no 'type()' function #44

Closed
flancer64 opened this issue Aug 1, 2017 · 2 comments
Closed

'frame' object has no 'type()' function #44

flancer64 opened this issue Aug 1, 2017 · 2 comments

Comments

@flancer64
Copy link
Contributor

I try to type some text into the field that is placed in iframe and I see that there is no 'type()' function available:
image

This is my code:

await chromy.iframe('iframe#braintree-hosted-field-number', frame => {

    console.log('We are inside.');
    frame.type('input[name=credit-card-number]', '4111111111111111');

});

I try to create test scenario for Magento e-commerce app.

@dotneet
Copy link
Contributor

dotneet commented Aug 1, 2017

Hi @flancer64,

I've published new version to support this.
Please update and try it!

@flancer64
Copy link
Contributor Author

Thanks, @dotneet. It works :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants