cheezy / page-object

Gem to implement PageObject pattern in watir-webdriver and selenium-webdriver
MIT License
653 stars 220 forks source link

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

Open ibalosh opened 3 years ago

ibalosh commented 3 years ago

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'