i am working with Selenium and Python 3, using Chrome webdriver. I have this very basic html page with some framesets, the frame that what im working on is loaded after i click a menu on the side bar, after that the information is loaded in the right side frame but when i try to find it is unable to locate it, i try to get back to parent frame using driver.switch_to.default_content()
but it takes me back to the main page where i have to click again to get the information loaded, this is the source code of the information page where the info is already loaded. In this case, i want to find the "Contenido" frame.
So the flow is login > click on sidebar menu > click again > select > get info loaded on right frame and try to locate from there, the problem is that i cannot switch to the frame that has the information on it.
Any is help is much appreciated! Here is the page src.
<frameset rows="79,*" cols="*" framespacing="0" name="parentFrame" frameborder="NO" border="0">
<frame src="gupprincipal.encabezado" name="topFrame" scrolling="NO" noresize="" marginwidth="0" marginheight="0">
<frame src="gupprincipal.forma_inicio" name="mainFrame">
</frameset>
<html><head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<frameset cols="145,*" frameborder="NO" border="0" framespacing="0" name="frs_frameMenu">
<frame src="gupmenug.menu_sistema?p_pidm_n=874816" name="Menu" scrolling="NO" noresize="">
<frame src="gupprincipal.contenido" name="Contenido" id="contenido">
</frameset>
<noframes name="nfr_farmeMenu"><body>
</body></noframes>
</html>`