robotframework / robotframework/SeleniumLibrary
Feature Request - Add a 'Get Logs' keyword to retrieve the browser console logs
Open
@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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.