Click on a check box located under Nested tables

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by Profile photo of Don Jones Don Jones 2 weeks, 4 days ago.

  • Author
    Posts
  • #72257
    Profile photo of Naveenkumar K
    Naveenkumar K
    Participant

    I am working on PowerShell script for website automation, i need to click on a checkbox that is inside a lot of tables. How to achieve it, please help...

    I have exapnded the DOM explorer and did a COPY-XPATH, COPY Selector options for the checkbox element, below are the details. How to update in powershell to select this check box

    Copy – Xpath //*[@id="G0_1_R0"]/td[1]/div/input

    Copy _ selector #G0_1_R0 > td.JSSelectGrid > div > input[type="checkbox"]

    Copy _ Element

    input type="checkbox" name="grs0_1" tabindex="3" 
  • #72412
    Profile photo of Don Jones
    Don Jones
    Keymaster

    So, unfortunately this isn't really a PowerShell question. This is DOM manipulation, and I assume you're going to have to use the old, deprecated Internet Explorer COM object. PowerShell isn't really well designed for interactive website manipulation like this.

You must be logged in to reply to this topic.