paypal/SeLion — pull request #61 by renelux (2014-12-11 06:49:19+00:00)
Title: Fixes issue where if we call isElementPresent and there are no page titles defined it will throw an NullPointException

This PR address an issue that if we call isElementPresent on a element of which the page yaml has no pageTitle defined it will throw an Exception.

Issue comes from the following line of code the method add extra info when a element can't be located. But on the following line https://github.com/paypal/SeLion/blob/develop/client/src/main/java/com/paypal/selion/platform/html/AbstractElement.java#L148 - AbstractElement:L148. we verify if the elements parentPage is loaded based on pageTitle. Is that something that we should be doing? Isn't it up to the user to ensure that they are on the correct page?