Jump to content

AV triggered everytime I run a python script in pycharm


Co4v3

Recommended Posts

Hi all
 
I am learning python on Windows.
Whenever I run a python script in pycharm, in this case testing a website via selenium, I am always setting off the AV protection. It detects my script (main.py) tries to run, but since it's a new PID each time it thinks this is a new program not the same program I have given the permissions before.
as a result it asks a billion permissions:
can script upate my registry (the networking ones)? --> yes, it tries to visit a web page, touching my TCP registries are mandatory.
can selenium update my registry and run the chrome driver etc? --> yes, I am trying to simulate visiting a webpage. selenium needs to start a chrome browser to do that.
can the chrome instance spun by selenium do bla A? bla B? and bla C?
 
what can be done so fix this?
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


×
×
  • Create New...