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

How to replace switch_to #70

Open
nathanvda opened this issue May 9, 2011 · 2 comments
Open

How to replace switch_to #70

nathanvda opened this issue May 9, 2011 · 2 comments

Comments

@nathanvda
Copy link

When using the selenium, we wrote something like

page.driver.browser.switch_to.window('online_manuals')

to swich to a newly opened window (online_manuals).
Instead I get this error:

undefined method `switch_to' for #<Akephalos::Client:0x1e06de8> (NoMethodError)

Is this functionality available in Akephalos? If so, how should i go about it then.
Or, if this should need to be implemented, can you give me some pointers where I should get started to add this functionality?

Kind regards,

Nathan

@cforcey
Copy link

cforcey commented Aug 9, 2011

Curious about this too! C

@Nerian
Copy link
Contributor

Nerian commented Oct 16, 2011

Sounds like a great feature :)

Checking the docs: http://htmlunit.sourceforge.net/apidocs/index.html

You may need to use

Feel free to open a pull request when you start working on this, that way when can discuss blockers and api design.

https://github.com/Nerian/akephalos2

And the code implementing that feature should go here: https://github.com/Nerian/akephalos2/blob/master/lib/akephalos/capybara.rb#L334

Thanks!

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

3 participants