Sebastian Alvarez
Sebastian Alvarez
> Thanks again for taking the time but I still have the same issue, the `switch_frame` method errors, presumably because the iframe isn't in the browser targets. It does form...
> Will put together a full snipped in the morning, thanks again for the help. ```bash [2024-08-28]::INFO # created process with pid 29233 [2024-08-28]::INFO # enabling autodiscover targets [2024-08-28]::INFO #...
To work with iframes you can use [this](https://github.com/ultrafunkamsterdam/undetected-chromedriver/issues/1998#issuecomment-2309317333)
> > I have the same problem, can anyone solve it? > > ``` > async def change_handle(driver, param): > # 多个tab页面切换/Switching between multiple tab pages > for p in...
> How can I deploy nodriver to the cloud? What is the recommended approach? > > I would assume using a Docker container. Any pointers on how to set that...
Try: ```js const frameHandle = await page.$('iframe[sandbox="allow-same-origin allow-scripts allow-popups"]'); if (frameHandle) { const frame = await frameHandle.contentFrame(); } ```
NoDriver dont do that. You should use your own scripts to make it. ```python await tab.send(cdp.page.add_script_to_evaluate_on_new_document(source=anti_fingerprint_script_by_your_own()))```
> [@RobertAzovski](https://github.com/RobertAzovski) can your software/commercial antidetect browsers pass all tests here: [https://abrahamjuliot.github.io/creepjs/](url) including the tests at the bottom? This site only tests client side, so if a site use time...
From this: `asyncio.create_task(self.tab.send(cdp.fetch.continue_request(request_id=event.request_id)))` To this: `self.tab.feed_cdp(cdp.fetch.continue_request(request_id=event.request_id))`
> requests.get("https://jnrbsn.github.io/user-agents/user-agents.json").json() Hello. That is unnecessary. you can manually replace it with useragent_override and replace() method.