lundi 22 juin 2015

How to switch to web_context when using appium as the default driver of Capybara?

I am using appium_capybara gem to enable appium support in capybara. But now I am not able to switch to webview as issuing the command

Capybara.current_session.driver.switch_to_webview

throws the following error messages.

 NoMethodError: undefined method `switch_to_webview' for #<Appium::Capybara::Driver:0x007fd94da35970>

What is th correct way of implementing that?

Aucun commentaire:

Enregistrer un commentaire