I wish I could show you the html code I am referring to but I cannot figure out how to copy and paste from the DOM explorer. I tried downloading the html file and editing it but the formatting was so awful I'd have to spend a long time just to make it readable. I typed up some here.
Code: Select all
<li class="header-menu-level-list-item">
<a class="" data-action="setAgency" data-id="2010">some text here</a>
</li>
I can't figure out how to click on either the icon or the text. Before, with a login button, I was able to do this:
Code: Select all
web_browser.document.getElementsByClassName("login-register-login-submit")[0].click()
Code: Select all
web_browser.document.querySelectorAll("")
I need some help.
a) how do I copy and paste html code from DOM Explorer
b) how do I click on the drop down menu with ahk? I'd elaborate more but I can't copy and paste the code.
c) do I need to click on the drop down menu to get to the menu item or can I just get to the menu item without doing that
d) how do I click on the menu item with ahk