So i have been doing a lot of selenium and the website i am trying to automate test for
doesnt have a lot of element with id, name, or any other HTML attributes that makes selenium testing a bit easier.
So i have been using of xpath, my intent was to click on an image and i have used the src attribute of the image element.
so my original command,
In my new job been doing a lot of selenium and i needed to scroll through the list of options in a select element and click on a particular options.
I have initially used the browser.DoubleClick
But then this didnt work because selenium doesn’t have the functionality to scroll down the select element in other to make my desired option visible.
Looking through the selenium api, i have used another method, which take in two parameters, the select locator and the option locator.