!!

Welcome to Selenium Webdriver Forum

As a web user you can read and search through forum content. Once you have registered and signed you can post topics, post replies, set up watch lists, modify forum settings, and use private messaging.

Author Topic: driver.page_source get only a part of source(almost 20KB)  (Read 482 times)

likeforeverx@gmail.com

  • Web User
driver.page_source get only a part of source(almost 20KB)
« on: February 23, 2012, 08:54:14 PM »
I opened a page and want to capture full  source. of it.
 python code:
     content = self.driver.page_source
 
   But I found it get only a part of source(almost 20KB)  .  How do I
 get the HTML source of the whole page?

Luke Inman-Semerau

  • Web User
Re: driver.page_source get only a part of source(almost 20KB)
« Reply #1 on: February 23, 2012, 08:54:29 PM »
It does return the full source for me. Does your page have iframes on it?
 If so you'll have to switch to the frame and then get the source of that.
 
If you really think there is a problem, please supply the version of
 Selenium you are using, version of browser (and platform) and a URL that is
 causing your problem.
 
-Lke
 
On Fri, Nov 4, 2011 at 6:21 PM, likeforev...@gmail.com <
 

- Show quoted text -

 

Related Topics

  Subject / Started by Replies Last post
7 Replies
466 Views
Last post February 22, 2012, 02:12:24 PM
by Yerem
7 Replies
302 Views
Last post February 22, 2012, 06:02:06 PM
by Yerem
0 Replies
314 Views
Last post February 23, 2012, 08:07:37 PM
by webtester
5 Replies
534 Views
Last post March 28, 2012, 03:25:01 PM
by Gleb Schukin
1 Replies
1364 Views
Last post March 28, 2012, 07:09:52 PM
by Chris Hannam
1 Replies
616 Views
Last post March 28, 2012, 07:19:46 PM
by Jason
1 Replies
558 Views
Last post April 10, 2012, 07:28:19 PM
by Marc Guillemot

Review www.seleniumwebdriver.com on alexa.com