Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #66165

Re: querry to get status code in selinium webdriver , unable to find it , requesting to please help me

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 <gandalf@shopzeus.com>
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 Nagy László Zsolt <gandalf@shopzeus.com>
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 <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.6830.1392292162.18130.python-list@python.org> (permalink)
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

Show key headers only | View raw


> 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?

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

querry to get status code in selinium webdriver  , unable to find it , requesting to please help me Jaiprakash Singh <jaiprakash@wisepromo.com> - 2014-02-13 03:21 -0800
  Re: querry to get status code in selinium webdriver  , unable to find it , requesting to please help me Nagy László Zsolt <gandalf@shopzeus.com> - 2014-02-13 12:31 +0100

csiph-web