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

Date 2014-02-13 12:31 +0100
From Nagy László Zsolt <gandalf@shopzeus.com>
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>
Newsgroups comp.lang.python
Message-ID <mailman.6830.1392292162.18130.python-list@python.org> (permalink)

Show all headers | 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