-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
NotImplementedError (NotImplementedError) #3
Comments
That seems like a bug. @sbonebrake do we need to add support for load/visit? |
Not really sure what we want the equivalent of driver.visit to be. What do you think the equivalent in appium_lib is? I suppose i could just implement it as empty so we stop throwing the exception. For now, try just calling the page constructor directly. Page::HomePage.new |
visit in capybara is used to navigate to a URL. It doesn't make sense at all for mobile. We should probably raise an error explaining this. |
Alternative: $driver.driver.navigate.to 'some url' That'll probably work for automating a web app on mobile. |
Added the better error messaging in 0.0.4 |
Hi
I am the folowing set up in terms of Gems on my local machine,
And when I execute a step I get the following error,
Step definition
Given(/^I am on the homepage$/) do
home_page.load
end
Conection to the appium selenium driver:
I suspect is the load method. I have changed it to visit method and I get the same error.
The text was updated successfully, but these errors were encountered: