Throw an exception when calling a method on a multi-element navigator that only makes sense for a single element navigator #284

geb-bot opened this Issue Feb 15, 2014 · 0 comments


None yet

2 participants

geb-bot commented Feb 15, 2014

Originally created by Marcin Erdmann.

Currently methods like that apply either apply to all elements or just the first element (value(), text()). Find all methods like this and throw exceptions when they are called on multi-element navigators.

@geb-bot geb-bot added the Story label Apr 12, 2015
@erdi erdi added this to the 1.0 milestone Aug 20, 2015
@erdi erdi added a commit to geb/geb that closed this issue Jan 1, 2016
@erdi erdi Throw an exception from Navigator methods that used to operate on the…
… first element when called on multi element Navigators.

Closes geb/issues#284.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment