rb/lib/selenium/client/extensions.rb
# Wait for an element to NOT be present (the wait happens in the browser).
Wait for an element to NOT be present (the wait happens in the browser).
Wait for an element to NOT be present ( the wait happens in the browser ) .
def wait_for_no_element(locator, options={})
        builder = JavascriptExpressionBuilder.new
        builder.find_element(locator).append("element == null;")
        wait_for_condition builder.script, options[:timeout_in_seconds]
      end
def wait_for_no_element ( locator , options = { } ) builder = JavascriptExpressionBuilder . new builder . find_element ( locator ) . append ( "element == null;" ) wait_for_condition builder . script , options [ :timeout_in_seconds ] end
Wait for an element to NOT be present (the wait happens in the browser).
Wait for an element to NOT be present ( the wait happens in the browser ) .
locator
options