pageify icon indicating copy to clipboard operation
pageify copied to clipboard

Instance methods of Capybara::Node::Element are not accessible

Open christopher-rex opened this issue 7 years ago • 1 comments

On a Pageify page.element, the visible? method was missing. On further debugging, while doing "..methods.sort" the Capybara::Node::Element functions are not listed.

I am using,

  • Pageify 0.5.2
  • Capybara 2.12.1
  • Selenium-webdriver 3.2.2

My complete Gemfile configurations are available here.

For example, i had the above observation when i tried "login_page.login_form.methods.sort" using a binding.pry debug point.

christopher-rex avatar Mar 17 '17 01:03 christopher-rex

please check the following project https://github.com/itsrunning/pageify_capybara_rspec I am able to access the capybara methods. Please refer to Gemfile.lock there to find the gem versions used.

paramadeep avatar Mar 23 '17 18:03 paramadeep