Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/excel/25.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Excel 是否有任何方法可以使用HTML表单元素通过Selenium VBA登录?_Excel_Vba_Selenium_Selenium Webdriver_Selenium Chromedriver - Fatal编程技术网

Excel 是否有任何方法可以使用HTML表单元素通过Selenium 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

这是我的VBA代码。所附图片是源代码


输入密码后,在任何表单元素上调用submit。它将提交表格

@QHarr更新了答案,谢谢:)
bot.FindElementById("txtBoxUsername").SendKeys "Username"
bot.FindElementById("txtBoxPassword").SendKeys "Password"
bot.FindElementById("txtBoxPassword").Submit