Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add log option 'log.info.details' for different levels of the element details in logs #1917

Closed
RomanIovlev opened this issue May 5, 2020 · 0 comments

Comments

@RomanIovlev
Copy link
Collaborator

Add log option 'log.info.details' for different levels of the element details in logs

  • none - no details
  • name - only element name
  • locator - only element locator
  • context - full element locator including parents
  • element - full element details PageObject class + variable name + context

example
log.info.details=none
30:15.404 [JDI:STEP]: Click on 'User Icon'
log.info.details=name
30:15.404 [JDI:STEP]: Click on 'User Icon' (User Icon)
log.info.details=locator
30:15.404 [JDI:STEP]: Click on 'User Icon' (smart: #user-icon)
log.info.details=context
30:15.404 [JDI:STEP]: Click on 'User Icon' (css='header'>smart: #user-icon)
log.info.details=element
30:15.404 [JDI:STEP]: Click on 'User Icon' (Header.userIcon (css='header'>smart: #user-icon))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

1 participant