Am 09.01.2018 um 16:38 schrieb Dinko Srkoč:
On 9 January 2018 at 13:26, Mohan Radhakrishnan
<radhakrishnan.mo...@gmail.com> wrote:
I don't see java.util.NoSuchElementException anywhere.

 From the line:

     }catch( NoSuchElementException nse ){

we don't know which `NoSuchElementException` you're trying to catch
(see what is imported), but we do know that the thrown exception is
`org.openqa.selenium.NoSuchElementException`.

The conclusion is:

a) the `NoSuchElementException` in the catch clause shown above is not
`org.openqa.selenium.NoSuchElementException`, or
b) as Felix noted, different class loaders are being used

if there is no "import org.openqa.selenium.NoSuchElementException" or "import org.openqa.selenium.*", then (a) has an extremely high probability

bye Jochen

Reply via email to