Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 97799

Python and Selenium levels of websecurity on surfing internet

$
0
0

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


Viewing all articles
Browse latest Browse all 97799

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>