Updated findElements() to account for immediate parent/child relationships
Moved the existing findElements() to its own overloaded method
Updated a bunch of javadoc
Ran a reformat code on the class
The only thing missing from this ticket is some testing. I think we need to restructure the class and how we're mocking in order to effectively test this. The re work would require additional work that I think sits outside of the scope of this ticket. I've tested this ticket real time on a personal project that hits the sauce labs demo site, https://www.saucedemo.com/inventory.html, (soon to be pushing up to a repo) and i'm seeing the correct behavior.
closes #147 .
The only thing missing from this ticket is some testing. I think we need to restructure the class and how we're mocking in order to effectively test this. The re work would require additional work that I think sits outside of the scope of this ticket. I've tested this ticket real time on a personal project that hits the sauce labs demo site, https://www.saucedemo.com/inventory.html, (soon to be pushing up to a repo) and i'm seeing the correct behavior.