I am using powershell to open internet explorer, and click a button which opens a web form.
Then, it selects a single option from a dropdown list, and is supposed to click a submit button which is supposed to be disabled and greyed out until any option is picked from said dropdown list.
However, even after powershell selects the option from the list, the submit button remains disabled and greyed out.
The only way I can enable the submit button is to move manually use the mouse to select a different option from the drop-down, at which point the submit button becomes enabled. Then I can manually select the option I had originally wanted from the drop-down, and then click submit.
But I didn’t want to do this manually. I wanted powershell to do it. Is there a workaround someone can teach me?
Thank you.
submitted by /u/Meygoon
[link] [comments]
The post Button Greyed Out and Not Enabled appeared first on How to Code .NET.