Click Button on Web Page - No element ID, tagname

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
xolo
Posts: 2
Joined: 22 Apr 2018, 08:40

Click Button on Web Page - No element ID, tagname

22 Apr 2018, 08:49

I am trying to click a submit button on a web page which doesnt have any element ID or tag name. All I have is input type="submit" class="btn_a" name="update" value="Create" title="Create"
How do I click this button?
Jack the Tipper

Re: Click Button on Web Page - No element ID, tagname

22 Apr 2018, 08:54

xolo wrote:I am trying to click a submit button on a web page which doesnt have any element ID or tag name. All I have is input type="submit" class="btn_a" name="update" value="Create" title="Create"
How do I click this button?
use getElementsByClassName("btn_a")[0].click()

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Lamron750 and 408 guests