我正在使用selenium和python 3.6脚本化一个python自动填充脚本。我想尽快填写文本输入框。现在我使用: driver.execute_script("document.getElementById(--the elements ID--
-).value='%s'" % ---what I want script to fill the box with---)
我重复
希望能够在下面的这段代码中获得帮助。它在模块1中工作,但不适用于任何工作表。我用我有限的知识尽力而为,但一直未能解决。 Sub lastrow()
Dim MCFPSheet As Worksheet
Set MCFPSheet = ThisWorkbook.Worksheets("MCFP Referrals YTD")
Dim lastrow As Long