Closed trybuskrzysztof closed 1 year ago
@allcontributors please add @trybuskrzysztof for bugs
@aaltat
I've put up a pull request to add @trybuskrzysztof! :tada:
Would you have example page where one could reproduce the problem? If that is not available, could you show screenshots and explain what the Click
actually does?
I did try to reproduce the problem with this example: https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_modal and having it inside of a iframe. But I was not able to reproduce the problem and therefore I am not able to fix the problem.
Would it be possible for you to create example which I can run and it demonstrates the problem?
Also could you try to with latest release, does the problem persist
i think the problem is simple that the frame can not be found and the keyword does not return the count 0 but trows the error.
Will be fixed by #2917
Describe the bug When using "Get Element Count" keyword, browser library throws an error when combination "iframe selector >>> element selector inside a frame" is not found.
To Reproduce As an example I used following steps: Get Element Count css=iframe >>> #privacy-modal == 1 Click css=iframe >>> #privacy-modal >> text="Allow All Cookies" Get Element Count css=iframe >>> #privacy-modal == 0
"Click" step closes an open iframe popup.
These steps pass: Get Element Count css=iframe >>> #privacy-modal == 1 Click css=iframe >>> #privacy-modal >> text="Allow All Cookies"
This step throws an error: Get Element Count css=iframe >>> #privacy-modal == 0
Expected behavior Step below should pass: Get Element Count css=iframe >>> #privacy-modal == 0
Desktop (please complete the following information):
Additional context All steps below pass, the problem occurs when trying to access an element inside iframe: Get Element Count css=iframe == 1 Click css=iframe >>> #privacy-modal >> text="Allow All Cookies" Get Element Count css=iframe == 0