salley
7 years agoFrequent Contributor
how to click on a checkbox from a dropdown list
i'm trying to check an item from a dropdown table list. i can find the item but unable to click because i need to scroll down to view the checkbox. my code works if the item is visible. i'm just not sure how do i use the logic to scroll down if expected item is available ,any help or suggestion will be highly appreciated.
Screen shot and code is attached.
thanks
What if, before you call currentObject.Click, you make a call to currentObject.scrollIntoView(true)?