I am currently programmatically updating stylesheets for a web page using JavaScript. My method involves having a local copy of the page and all associated assets stored on a server. After I finish making changes to the stylesheets, my goal is to save the modified versions onto disk.
To execute my JavaScript code on the loaded page in Firefox, I am utilizing Webdriver.
While Internet Explorer offers access to the stylesheet.cssText
property to obtain the stylesheet source as a JS string, I am unable to use IE for this task. Therefore, I am seeking a way to achieve the same outcome in Firefox.