英文:
excel VBA selenium: fill in user and password
问题
I am developing an Excel application to connect to a data provider.
Is it possible to fill in the username and password fields with the data previously saved in the browser (Edge) without having to define the username and password in the VBA code?
Thanks in advance.
英文:
I am developing an Excel application to connect to a data provider.
Is it possible to fill in the username and password fields with the data previously saved in the browser (Edge) without having to define the username and password in the VBA code?
Thanks in advance.
答案1
得分: 1
我了解, Selenium默认会创建一个新的匿名浏览器会话。如果你想使用当前会话中保存的密码,你需要在现有浏览器中打开一个标签页。
你可以参考这个问题开始学习:
https://stackoverflow.com/questions/8344776/can-selenium-interact-with-an-existing-browser-session
英文:
AFAIK, by default, Selenium will create a new anonymous session of your browser. If you want to use the saved passwords from your current session, you'd need to open a tab in an existing browser.
Knowing that, you can have a look at this question to get started:
https://stackoverflow.com/questions/8344776/can-selenium-interact-with-an-existing-browser-session
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论