i'm trying catch invalidstateexception (and exception!) code throwing out elementnotvisibleexception , still being caught. know problem because did this:
try{ thrown new elementnotvisibleexception("why???"); } catch(invalidelementstateexception e){ system.out.println("welp, sucks."); } and, welp, sucks.
selenium javadocs doesn't list elementnotvisibleexception subclass of invalidelementstate exception, yet java seems think case. can enlighten me/suggest workaround? thanks!
oh, , i'm using java 7, selenium 2.46.
elementnotvisibleexception subclass of invalidelementstateexception, elementnotvisibleexception is invalidelementstateexception. expected behavior.
Comments
Post a Comment