Timeline for answer to Unable to parse the value of an element from response in python? by alecxe
Current License: CC BY-SA 3.0
Post Revisions
11 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 11, 2016 at 4:01 | comment | added | anderson | okay.huge thanks ..Very well explained.no one has answerd me for this since very long time.Can you please clarify me further.I will post my doughts on this only.? | |
| Aug 11, 2016 at 3:58 | comment | added | alecxe |
@anderson well, the simplest approach would be to switch to browser automation with selenium stopping thinking in terms of GETs and POSTs and starting to think in terms of elements and browser actions.
|
|
| Aug 11, 2016 at 3:55 | comment | added | anderson | then what would be an alternative.? | |
| Aug 11, 2016 at 3:51 | comment | added | alecxe |
@anderson requests cannot execute javascript, it is not a browser - that could be the reason.
|
|
| Aug 11, 2016 at 3:50 | comment | added | anderson | First I have sent GET request to the url it is sending during the manual .So USerDet value has to be assigned now.But not assigned | |
| Aug 11, 2016 at 3:47 | comment | added | anderson | exactly..I have done the same.here | |
| Aug 11, 2016 at 3:40 | comment | added | alecxe | @anderson yeah, and it would be executed only if there is the "last login data" available, see line 408. That's exactly my point. You've been logged in to this site before and that's why you see the value in the browser. | |
| Aug 11, 2016 at 3:37 | comment | added | anderson | sorry see 453 line | |
| Aug 11, 2016 at 3:36 | comment | added | alecxe |
@anderson I see hidCoreUserDet.value = ""; on line 440.
|
|
| Aug 11, 2016 at 3:28 | comment | added | anderson | See 440 line [here](view-source:nucleus.niituniversity.in/).It is assigning the value | |
| Aug 11, 2016 at 3:24 | history | answered | alecxe | CC BY-SA 3.0 |