Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Checked Boxes

$
0
0

I have a list of checked boxes on a website,  How Can I unchecked all boxes and check specific box?

Example  (I just want to select Code and Created at boxes.)

 

Id Retailer State Code Oope pin Created at Updated at Device status key

 

My Code:

$link = $doc.getElementsByTagName('input') | Where-Object {$_.Type -eq 'checkbox' }

 

Please help.

 

Thanks.


Viewing all articles
Browse latest Browse all 6937

Trending Articles