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

Can't interact with loaded remote url #24

Closed
admc opened this issue Jan 31, 2011 · 2 comments
Closed

Can't interact with loaded remote url #24

admc opened this issue Jan 31, 2011 · 2 comments

Comments

@admc
Copy link

admc commented Jan 31, 2011

Correct me if I'm wrong, but shouldn't the following work:

var browser = tobi.createBrowser(80, 'http://www.google.com);
browser.click("input[name=btnG"])

or

browser.get('/', function(res, $){
browser.click("input[name=btnG"])
});

Both are giving me an uncaught exception.

@tj
Copy link
Contributor

tj commented Feb 1, 2011

Added Google example. Closed by 7234bff

seems fine to me :)

@tj
Copy link
Contributor

tj commented Feb 1, 2011

dont forget everything is async so you need a callback

This issue was closed.
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