Webpages detecting selenium precense
- Disabeling java
- Change ip with tor
- Change user agent
- Delete cookies
- Delete cache
DISABELING JAVA
firefox_profile.set_preference( "javascript.enabled", False )
CHANGING IP
with Controller.from_port(port = 9051) as controller:
controller.authenticate()
controller.signal(Signal.NEWNYM)
CHANGING USER AGENT
ua = UserAgent()
random_ua = ua.random
DELETING COOKIES
driver.delete_all_cookies()
DELETING CACHE
firefox_profile.set_preference("browser.cache.disk.enable", False)
firefox_profile.set_preference("browser.cache.memory.enable", False)
firefox_profile.set_preference("browser.cache.offline.enable", False)
firefox_profile.set_preference("network.http.use-cache", False)
Still detected by webpages while using Selenium