GithubHelp home page GithubHelp logo

Comments (3)

KazuCocoa avatar KazuCocoa commented on June 8, 2024

As far as I know of is https://www.rubydoc.info/gems/appium_capybara/ and this repository for now.
Added the link and example a bit in readme.


It is really appreciated if anyone can help this since I fix a few issues in this repository because no one maintained this repository, but I haven't used this.

from appium_capybara.

philipfong avatar philipfong commented on June 8, 2024

I've tried using this library and I'm not finding any way to take advantage of Capybara's DSL here. Any help would be appreciated. I do have the driver set up where I can start a Appium::Capybara::Driver session, but that is as far as I'm getting.

from appium_capybara.

teyamagu avatar teyamagu commented on June 8, 2024

@philipfong If you want to use Capybara's DSL, you can use Capybara.current_session.<DSL>, I think.
Unfortunately, we can't use Navigating and Clicking links and buttons of DSL

example in https://github.com/appium/appium_capybara/blob/master/example/spec/ios_example_spec.rb

# 
[1] pry(#<RSpec::ExampleGroups::UICatalogSmokeTest>)> Capybara.current_session.all(:class, 'XCUIElementTypeButton').count
=> 12
[2] pry(#<RSpec::ExampleGroups::UICatalogSmokeTest>)>

example app view

I hope this will help.

from appium_capybara.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.