cheezy / page-object

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

Is the HTML object type 'nav' modeled? #413

Closed Githraine closed 7 years ago

Githraine commented 7 years ago

I have a page with a <nav> tag block I want to interact with. Can I do that within Pageobjects? Or do I have to fall back on the Browser object and raw Watir?

cheezy commented 7 years ago

It is covered. Look at PageObject::LocatorGenerator and you will see a list of BASIC_ELEMENTS. nav is included. Then look at PageObject::Accessors line 1095 as in git and you will see where that list is used to generate methods.

-Cheezy

On Mar 3, 2017, at 9:16 AM, Jason Koelewyn notifications@github.com wrote:

I have a page with a

tag block I want to interact with. Can I do that within Pageobjects? Or do I have to fall back on the Browser object and raw Watir?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cheezy/page-object/issues/413, or mute the thread https://github.com/notifications/unsubscribe-auth/AACGKgF5tgKzJ_NPc1Ia9WNcu42vaZKVks5riCDOgaJpZM4MSTpb.

Githraine commented 7 years ago

Thank you!