driver.execute_script(spoof_script) Is not executing #3410
|
`from seleniumbase import Driver driver = Driver( ) spoof_script = f'''spoof_script =''' try: finally: |
Replies: 2 comments
|
Not sure what's going on with your script. It's not properly formatted with Markdown, so it's tricky to read. And you didn't include the stack trace, so I'm not sure what your error is. Note that SeleniumBase has a special mode, CDP Mode, which lets you bypass bot-detection, if that's what you're looking for. It bypasses detection NOT by spoofing fingerprints, but by making your automated browser appear as a regular human-controlled browser. Also, Mobile Mode is highly detectable (using Chrome's mobile device emulator), so that's not the best way to be stealthy. |
|
I wat stealth and mobile both in one .. |
Not sure what's going on with your script. It's not properly formatted with Markdown, so it's tricky to read. And you didn't include the stack trace, so I'm not sure what your error is.
Note that SeleniumBase has a special mode, CDP Mode, which lets you bypass bot-detection, if that's what you're looking for. It bypasses detection NOT by spoofing fingerprints, but by making your automated browser appear as a regular human-controlled browser. Also, Mobile Mode is highly detectable (using Chrome's mobile device emulator), so that's not the best way to be stealthy.