Skip to content
This repository has been archived by the owner on Dec 21, 2021. It is now read-only.

How to verify a API call in Browser Dev Tools with Serenity #37

Open
szanelato opened this issue Nov 23, 2020 · 0 comments
Open

How to verify a API call in Browser Dev Tools with Serenity #37

szanelato opened this issue Nov 23, 2020 · 0 comments

Comments

@szanelato
Copy link

Hi,
I'm trying to get one API call details after some browser action.
My test make a login and I need to get a specific POST action to my login endpoint through Devtools from browser (F12).

How can I do this using Serenity?

I tryed to use List<LogEntry> logEntries = getDriver().manage().logs().get(LogType.BROWSER).getAll(); but it returns only the Console tab, not the Network tab.

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

No branches or pull requests

1 participant