-
Notifications
You must be signed in to change notification settings - Fork 132
Closed
Description
Describe the bug
When in presenter mode, the keyword Get Element States does not return state detached for element, which is detached. It will raise timeout error instead.
To Reproduce
Steps to reproduce the behavior:
*** Settings ***
Library Browser enable_presenter_mode=False
*** Test Cases ***
Test
New Browser headless=False
New Page
Go To https://robotframework.org/
${state_visible_element} Get Element States //h1[@class='title'] evaluate visible in value
${state_detached_element} Get Element States //h1[@class='wrong_title'] evaluate detached in value
Expected behavior
When presenter mode is not active, the code works just fine. When I set presenter mode as active, the first Get Element State works (the element is there), but the second one doesn't. The element is not there, but it should return detached instead of the error message.
Desktop (please complete the following information):
- OS: Windows 10, build 19044.1706
- Browser: Chromium
- Version: 102.0.5005.40 (Developer Build) (64-bit)