pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/cathoderay/selenium-extjs/commit/2297d6dddf80ba882a9cda3e0bdb347a51fcb659

onymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/global-9c8f61f9f58ad7b2.css" /> fixing bug... · cathoderay/selenium-extjs@2297d6d · GitHub
Skip to content

Commit 2297d6d

Browse files
committed
fixing bug...
1 parent a0d77f9 commit 2297d6d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/selenium-extjs/Selenium.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ def find_ext(args)
4040
exp = filters.compact().join(" && ")
4141
p "window.Ext.ComponentMgr.all.find(function(el){ return #{exp} }).getId()"
4242

43-
# wait for element.
43+
# wait for element.
4444
if args.has_key?(:wait) && args[:wait]
45-
wait_for_condition("null != window.Ext.ComponentMgr.all.find(function(el){ return (#{exp}); })")
45+
wait_for_condition("null != window.Ext.ComponentMgr.all.find(function(el){ try {return (#{exp});}catch(e) {return false;}})")
4646
end
4747

4848
id = get_eval("window.Ext.ComponentMgr.all.find(function(el){ try { return (#{exp}); } catch(e) {return false;} }).getId()")

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy