I find my issue has already been raised:
https://github.com/watir/watir-webdriver/issues/152

but I didn't see the solution,because dear @jarib can not reproduced the issue
so, let me continue 
my code :
b.frame(:id ,"xxx").button(:id, "xxx").exists? 
it will retrun Error Message just like 
Selenium::WebDriver::Error::StaleElementReferenceError: switchFrame execution 
failed;Element does not exist in cache
but if my code is 
b.button(:id, "xxx").exists? 
it can retrun "false"!!and that's all I need!!!I just need a "false"!!
 I don't know why it knows the element does not exist, and didn't bring me 
"false"...
I know it can bring me "true"...I think it's something wrong cause by frame
sorry about my english anyway...

---
Reply to this email directly or view it on GitHub:
https://github.com/watir/watir-webdriver/issues/211
_______________________________________________
Wtr-development mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-development

Reply via email to