+ Reply to Thread
Results 1 to 2 of 2

Pull Website Source Code with Selenium (PhantomJS) VBA

  1. #1
    Registered User
    Join Date
    06-19-2012
    Location
    Michigan
    MS-Off Ver
    Excel 2016
    Posts
    98

    Pull Website Source Code with Selenium (PhantomJS) VBA

    Hey Guys,

    I'm trying to figure out how to use Selenium with the PhantomJS browser to pull source code from websites.

    I have the following code so far (not much, just testing):

    Please Login or Register  to view this content.
    When testing with the Chrome browser instead of PhantomJS (so that it's visible), it successfully loads google, then yahoo, then Amazon.

    I'd like to pull the source code of each site and set a variable equal to it so that the source can be parsed down and manipulated.

    Thanks!

    Matt

  2. #2
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Re: Pull Website Source Code with Selenium (PhantomJS) VBA


    Hi !

    No need selenium to pull a webpage code !

    A sample from many others in this forum in this thread

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Importing website source code into excel
    By Schwizer in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-30-2013, 06:57 PM
  2. Macro to get source code from a website.
    By terbart in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-28-2013, 09:26 AM
  3. [SOLVED] URLs and navigating websites to pull source code
    By Zaf01 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-15-2012, 04:47 PM
  4. [SOLVED] How would I grab the source code from a website and place it into a text file using vba?
    By 111StepsAhead in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-14-2012, 10:31 AM
  5. Pull Data from Website Source
    By JasonGreen in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-18-2011, 12:01 PM
  6. Pull info from website
    By Benjamin2008 in forum Excel General
    Replies: 1
    Last Post: 06-25-2010, 07:49 PM
  7. Pull data from website
    By djboston in forum Excel General
    Replies: 0
    Last Post: 01-02-2010, 01:47 PM
  8. [SOLVED] VBScript to pull html source code
    By Nixter in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-04-2005, 01:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1