Jump to content
Organ

Click Button in IE with no ID or Name

Recommended Posts

Hey guys, i need to click a button that doesnt have a name or id on a website in internet explorer. The button is the following:

<button class="btn btn--anchor after--overlay pdgh0 facility" type="button">
    Anlage
    <svg xmlns="http://www.w3.org/2000/svg" class="icon icon--arrow-down icon--toggle bg-brand text-white" role="img"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#arrow-down" /></svg></button>

and then i also need to click this one a little bit after that (but i only need to know how to access it😞

<button class="btn btn--anchor after--overlay pdgh0 sport" type="button">
    Sportart
    <svg xmlns="http://www.w3.org/2000/svg" class="icon icon--arrow-down icon--toggle bg-brand text-white" role="img"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#arrow-down" /></svg></button>

I'm new to this and dont even know how to start. I tried to access it by using this:

Local $anlage = _IEGetObjByName ($oIE, "facility")
Sleep (3000)
_IEAction ($anlage, "click")

i also tried IEGetObjById and i tried different things as "name" or "id" but neither worked. I would appreciate some help,

thanks

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...