3. Google Chrome releases
● Stable channel
● Beta channel
– latest features
– more stable than Dev
● Dev channel
– where ideas get tested (and sometimes
fail)
– usually require some manual
configuration
13. Console API
● console.log(object[, object, ...]) - Writes a message to
the console.
● console.warn(object[, object, ...]) - Writes a message to
the console with the visual "warning" icon.
● console.error(object[, object, ...]) - Writes a message to
the console with the visual "error" icon.
● console.assert(expression[, object, ...]) - Tests that an
expression is true. If not, it will write a message to the
console and throw an exception.
14. Console API
● $("id") - dumps node with id equal to "id" into the Console.
● $$("selector") - dumps nodes equal to the CSS selector
into the Console.
● $0 - contains most recently selected node. You can use it
to dump it into the console or in other console
expressions.
● $1 .. $5 - contain previously selected nodes.
● inspect(node) - selects given node in the Elements Panel.
● dir(node) - dumps node as a JavaScript object with its
properties into the Console.
● dirxml(node) - dumps node as an HTML subtree into the
Console.