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