# File lib/selenium/client/javascript_expression_builder.rb, line 33 33: def find_element(locator) 34: append "var element;\n\ntry {\nelement = selenium.browserbot.findElement('\#{quote_escaped(locator)}');\n} catch(e) {\nelement = null;\n}\n" 35: end