I am trying to click on a button but it has no name or id the code from the website is below
<a href="https://www.supremenewyork.com/checkout" class="button checkout">checkout now</a>
I have the following so far
set webrowser = createobject("internetexplorer.application")
webrowser.statusbar = false
webrowser.menubar = false
webrowser.toolbar = false
webrowser.visible = true
webrowser.navigate("http://www.supremenewyork.com/shop/jackets/quilted-flight-satin-parka/orange")
wscript.sleep(5000)
webrowser.document.all.item("size").value = "30418"
wscript.sleep(500)
webrowser.document.all.item("commit").click
wscript.sleep(500)
For Each btn In webrowser.Document.getElementsByTagName("input")
If btn.type= "button checkout" Then btn.Click()
Next