简体   繁体   English

Selenium Chrome Webdriver 安全

[英]Selenium Chrome Webdriver Security

I have written a python script that logs into a webpage and the script itself stores my credentials.我编写了一个登录网页的 python 脚本,脚本本身存储了我的凭据。 I am trying to determine whether running this script could somehow expose my credentials?我试图确定运行此脚本是否会以某种方式暴露我的凭据? Or is it just as secure as opening my browser myself and typing in my credentials?或者它是否与自己打开浏览器并输入我的凭据一样安全? I would have presumed it would be no different to doing it manually, but I don't necessarily understand how my script communicates with the webdriver and if in that process my credentials could possibly be exposed.我认为这与手动执行没有什么不同,但我不一定了解我的脚本如何与 webdriver 通信,以及如果在该过程中我的凭据可能会暴露。 The Selenium documentation refers to a Selenium Server, but exactly sure how that works. Selenium 文档指的是 Selenium 服务器,但完全确定它是如何工作的。 An official reference would be appreciated!官方参考将不胜感激!

your credentials is safe.您的凭据是安全的。 selenium server acts as http proxy and sends your script http data , pass through selenium server before running in browser. selenium 服务器充当 http 代理并发送您的脚本 http 数据,在浏览器中运行之前通过 selenium 服务器。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM