ChromeDriver 100.0.4896 fails to switch into nested frame

127 views
Skip to first unread message

Игорь Козыренко

unread,
Mar 30, 2022, 1:47:49 PM3/30/22
to ChromeDriver Users
This is a repro python snippet that tries to switch into a nested and fails:

from selenium import webdriver

with webdriver.Chrome() as driver:

    driver.get("https://applitools.github.io/demo/TestPages/FramesTestPage/")

    driver.switch_to.frame("frame1")

    driver.switch_to.frame("frame1-1")


The exception I see is 

selenium.common.exceptions.NoSuchFrameException: Message: no such frame: element is not a frame

It is accompanied with with native unresolved stacktrace.

The frame is there on the page, this code works without errors with Chrome 99.

Vladimir Nechaev

unread,
Mar 30, 2022, 3:54:15 PM3/30/22
to Игорь Козыренко, ChromeDriver Users
Thank you, Igor, for the reproducer!

I think that the issue has the same root cause as chromedriver:4046 which is fixed in ChromeDriver 101 .
ChromeDriver 101 beta containing the fix is going to be released on Apr. 01, 2022.

Best regards,
Vladimir

--
You received this message because you are subscribed to the Google Groups "ChromeDriver Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromedriver-us...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/chromedriver-users/95ca497f-66b9-463e-8bdb-59c1130967a8n%40googlegroups.com.

Space Soft System

unread,
May 23, 2022, 1:59:06 AM5/23/22
to Vladimir Nechaev, Игорь Козыренко, ChromeDriver Users
I use Chrome Drives for Whatsapp API Services for Software Development. My website is api4ws.com

i have a issue there , how i create button in whatsapp chat , using VB 2010 JavaScript

any one help me



--
===============================================
Space Soft System
Software Development Work
Software Sales & Service

Cell 73546-73546

Jesse Brown

unread,
May 23, 2022, 10:21:13 AM5/23/22
to Space Soft System, Vladimir Nechaev, Игорь Козыренко, ChromeDriver Users
Switch back to the parent frame on the way to the other frame...


Reply all
Reply to author
Forward
0 new messages