Excel 是否有任何方法可以使用HTML表单元素通过Selenium VBA登录?
这是我的VBA代码。所附图片是源代码Excel 是否有任何方法可以使用HTML表单元素通过Selenium VBA登录?,excel,vba,selenium,selenium-webdriver,selenium-chromedriver,Excel,Vba,Selenium,Selenium Webdriver,Selenium Chromedriver,这是我的VBA代码。所附图片是源代码 输入密码后,在任何表单元素上调用submit。它将提交表格@QHarr更新了答案,谢谢:) bot.FindElementById("txtBoxUsername").SendKeys "Username" bot.FindElementById("txtBoxPassword").SendKeys "Password" bot.FindElementById("t
输入密码后,在任何表单元素上调用submit。它将提交表格@QHarr更新了答案,谢谢:)
bot.FindElementById("txtBoxUsername").SendKeys "Username"
bot.FindElementById("txtBoxPassword").SendKeys "Password"
bot.FindElementById("txtBoxPassword").Submit