institutelmka.blogg.se

Launch internet explorer vba excel
Launch internet explorer vba excel












PageSource method is only available for the browser driver itself and not for WebElement objects. I want to do exactly the same overall process with Selenium but can't figure out how since the. This allowed me to interact across the first and second frame on the page effortlessly simply be referring to the variable referring to that page. Set htmldoc3 = htmldoc.Frames(1).Document Set htmldoc2 = htmldoc.Frames(0).Document This was easily possible with the Microsoft HTML Object Library my original code as simply as follows: Set htmldoc = IE.Document My goal is to navigate between both frames instantly without having to use the "SwitchToFrame" method, as fundamentally I want the Selenium web driver (in my specific case, using Chrome) to keep the entire page in mind and be able to reference information from both frames in tandem. The first one has various buttons and dropdowns I need to interact with, the second also has some options as well as the main table that is displayed from the options in the first frame. The web page is split into two separate frames that each stores an HTML document. Since Internet Explorer was completely disabled, a lot of VBA code I had written involving webscraping has become completely useless, and that required using Microsoft Internet Controls along with Microsoft HTML Object Library in VBA.Īn issue I'm immediately running into is with a web page for gathering statistics.














Launch internet explorer vba excel