Franco M

Results 150 comments of Franco M

> > boludoz > > Then you are in the wrong Repo Haha everyone wants to copy Walter White but they only cook.

![ESQUEMA_IFRAME](https://github.com/ultrafunkamsterdam/undetected-chromedriver/assets/11653030/e085c01d-d02e-4e7c-bda6-4062d6d46bbe) ``` from selenium_driverless import webdriver from selenium_driverless.types.by import By import asyncio async def main(): options = webdriver.ChromeOptions() async with webdriver.Chrome(options=options) as driver: await driver.get('file:///C:/Users/Admin/Downloads/test_otp.mhtml') try: iframe = await driver.find_element(By.XPATH,...

The problem seems to be within find_element_by text ![image](https://github.com/ultrafunkamsterdam/undetected-chromedriver/assets/11653030/3a1020ba-0d28-40eb-877b-17b7d6e5db4f) Unfortunately it's too much for me.

![image](https://github.com/ultrafunkamsterdam/undetected-chromedriver/assets/11653030/3e38de8e-743d-413e-bf0a-01bae6b46373)

![image](https://github.com/ultrafunkamsterdam/undetected-chromedriver/assets/11653030/99f4423d-8ff4-476f-890c-6d51e6bffaca)

Fixed: ``` async def find_element_by_text( self, text: str, best_match: Optional[bool] = False, return_enclosing_element: Optional[bool] = True, ) -> Union[element.Element, None]: """ finds and returns the first element containing , or...

The problem now is that I can't click on it.

> @boludoz Can you provide document example that you tried to work on and source code that does not work? ``` ```

> @boludoz > > So, after some researching and tweaking I found that we can use iframe as an explicit tab as it is added as a target to driver....

> @boludoz If it solved your problem, consider closing this issue. In that laboratory example it works, but on a real page it doesn't. It must be hidden in the...