java - Selenide ElementsCollection throwing StaleElementException -
i've started using selenide recently, , i'm loving fluent code allows. have strange issue elementscollection, however.
$$("some ref").filterby(not(attribute("an-attr-that-should-not-be"))).gettexts()
this query intermittently returns stringified staleelementreferenceexceptions
, , can't understand why.
if run query in debugger, returns valid values, while during normal runtime (single thread application), get.
the target element gwt combo box results list.
could please point me in right direction?
update: if it's relevant, i'm using internetexplorerdriver.
chrome , chromedriver fire off staleelementreferenceexception
point of test - time element no longer visible webelement
reference have becomes invalid , must again. if combo showing/hiding or changing cause (need more details on combo , seems cause more specific) - try looking element when expect use instead of reusing reference again , again.
Comments
Post a Comment