Skip to content

How to increase fingerprint emulation #2394

Answered by mdmintz
AlexPaiva asked this question in Q&A
Discussion options

You must be logged in to vote

You could try using multiple proxy servers to vary things up.
You'll have to supply your own proxy config for that to work.

from parameterized import parameterized
from seleniumbase import BaseCase
BaseCase.main(__name__, __file__, "-n3")

class ProxyTests(BaseCase):
    @parameterized.expand(
        [
            ["host1:port1"],
            ["host2:port2"],
            ["host3:port3"],
        ]
    )
    def test_multiple_proxies(self, proxy_string):
        self.get_new_driver(
            undetectable=True, proxy=proxy_string, multi_proxy=True
        )
        self.driver.get("https://browserleaks.com/webrtc")
        self.sleep(30)

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by mdmintz
Comment options

You must be logged in to vote
3 replies
@mdmintz
Comment options

@AlexPaiva
Comment options

@mdmintz
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants