returns the literal string as its JSON encoded form. Useful for passing javascript variables into functions.
page.call ‘Element.show’, ActiveSupport::JSON::Variable.new("$$(#items li)")
returns the literal string as its JSON encoded form. Useful for passing javascript variables into functions.
page.call ‘Element.show’, ActiveSupport::JSON::Variable.new("$$(#items li)")