Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder3.xlned.com!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: UNSURE 0.280 X-Spam-Level: ** X-Spam-Evidence: '*H*': 0.64; '*S*': 0.20; 'subject:code': 0.07; 'subject:help': 0.08; 'http': 0.09; 'python': 0.11; 'here"': 0.16; 'subject: \n ': 0.16; 'code.': 0.18; 'value.': 0.19; 'header:User- Agent:1': 0.23; 'asking': 0.27; 'header:In-Reply-To:1': 0.27; 'subject:please': 0.30; 'code': 0.31; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:62': 0.63; 'kind': 0.63; 'talking': 0.65; 'here': 0.66; 'subject:get': 0.81; 'about?': 0.84; 'downloaded?': 0.84; 'received:192.168.13': 0.84; 'received:62.179': 0.84; 'received:62.179.121': 0.84; 'received:upcmail.net': 0.84; 'subject:find': 0.84 X-SourceIP: 89.134.227.148 Date: Thu, 13 Feb 2014 12:31:33 +0100 From: =?ISO-8859-1?Q?Nagy_L=E1szl=F3_Zsolt?= User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: python-list@python.org Subject: Re: querry to get status code in selinium webdriver , unable to find it , requesting to please help me References: <7a9cc6d8-c18c-4dd4-862e-c07b3b31b1c9@googlegroups.com> In-Reply-To: <7a9cc6d8-c18c-4dd4-862e-c07b3b31b1c9@googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Thu, 13 Feb 2014 12:49:21 +0100 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 12 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1392292162 news.xs4all.nl 2838 [2001:888:2000:d::a6]:44178 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:66165 > here ismy code in python > > for i in range(0,60): > driver.execute_script("window.scrollTo(0, document.body.scrollHeight);") > # i want status code here" > time.sleep(1) Status of what? Are you asking the HTTP status of the page downloaded? That has nothing to do with your javascript code. AFAIK window.scrollTo has no return value. So what kind of status are you talking about?