Skip to content

log in console the target el of cy.root() command #55

@jennifer-shehane

Description

@jennifer-shehane

When I click on a .root() command in the commands log, the console doesn't log anything useful:

Console log of .root()
screen shot 2015-08-19 at 3 25 23 pm

I would like the console log to display the DOM element that the root command returns (similar to what .get() command logs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: enhancementRequested enhancement of existing feature

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions