_WD_BidiGetContextID should return the Context ID of the currently active browser context. The assumption was that the active browser context would appear at the top of the results from browsingContext.getTree, but that doesn't appear to be the case.
How to reproduce
Steps to reproduce the behavior (e.g.):
Go to '...'
Click on '...'
Scroll down to '...'
See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Bug report
Describe the bug
_WD_BidiGetContextID should return the Context ID of the currently active browser context. The assumption was that the active browser context would appear at the top of the results from
browsingContext.getTree
, but that doesn't appear to be the case.How to reproduce
Steps to reproduce the behavior (e.g.):
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
System under test
Please complete the following information.