We are occasionally seeing this error come from Ferrum:
Argument should belong to the same JavaScript world as target object
From what I can tell, it may have to do with how cuprite handles finding within elements. If the page navigates in the middle of a find (in between the time when the within is resolved in Ruby to when the find is done) then the crash occurs.
page.within(:css, ".some-class") do
page.find(:css, ".some-other-class")
end
We are occasionally seeing this error come from Ferrum:
From what I can tell, it may have to do with how cuprite handles finding within elements. If the page navigates in the middle of a find (in between the time when the
withinis resolved in Ruby to when thefindis done) then the crash occurs.