Skip to content

Investigate possibility to print nice locators for fragments on error #9

@Xotabu4

Description

@Xotabu4

Investigate possibility to print nice locators for fragments on error

Problem:
On attempt to use something like this:

$('div').$('.helloworld')

error will be printed something like
'element ".helloworld" is not found'
But it will be more informative to have error with full context -
'element "div > .helloworld " not found '

  • Find possibility to get all parent elements locators
  • Find nice format to print different locators and different contexts
  • Override error message with that nice format

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions