Currently, I am working on a test scenario where I need to confirm that altering an option in a dropdown menu modifies the styling of the page. I am curious if Webdriver has the ability to retrieve the URL of the CSS document from an element. This appears to be the ideal solution for my test case since I am unaware of what changes will occur on the page, but I do anticipate a different CSS source from the initial page load. Below is an image illustrating the information I am aiming to extract. It might be achievable with the getCssValue()
method, however, I am uncertain which CSS property that would entail, if any. https://i.sstatic.net/0Uczb.png