page-object icon indicating copy to clipboard operation
page-object copied to clipboard

If you try to use .ins_elements method, you will get an error

Open ibalosh opened this issue 5 years ago • 0 comments

if you try to locate an element by using PageObject method "ins_elements" you will get an error:

NoMethodError: undefined method `inss' for #<Watir::Browser:0x00007f9979fd1528>
Did you mean?  inses
               ins

the singular version "ins_element" works, but plurar version doesn't, since it seems to search for inss method in Watir, while Watir has inses method instead.

I used following gem versions:

gem 'page-object', '2.2.6'
gem 'selenium-webdriver', '3.142.7'
gem 'watir', '6.17.0' 

ibalosh avatar Oct 21 '20 11:10 ibalosh