robotframework / robotframework/SeleniumLibrary

Feature Request - Add a 'Get Logs' keyword to retrieve the browser console logs

Open
#1,772 13 comments 0 reactions 1 assignee View on GitHub

@emanlove is already working on this.

Since Apr 29, 2024.

acknowledge enhancement in progress priority: high
Dominant language
Python
Stars
1.5k
Forks
787
PR merge metrics
No merged PRs in 30d

Description

Similar to what 'get_log()' can do on python Selenium, I think we are missing a direct way to obtain console and even network logs which can be useful to verify some browser data.

I've been trying different options to obtain this info but couldn't find a Robot Framework direct way to do it. In Python, using driver.get_log("chrome"), for instance, is a simple way to retrieve this data and proceed with further verifications.

Thanks in advance for the support!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.