driver.execute_script(spoof_script) Is not executing #3410
-
`from seleniumbase import Driver driver = Driver( ) spoof_script = f'''
spoof_script =''' try: finally: |
Beta Was this translation helpful? Give feedback.
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. |
Beta Was this translation helpful? Give feedback.
-
I wat stealth and mobile both in one .. |
Beta Was this translation helpful? Give feedback.
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.