You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 16, 2023. It is now read-only.
TypeError: Cannot read property 'elements' of undefined
at HTMLDocument.<anonymous> (https://store.steampowered.com/login/:script:7:30)
at l (https://steamstore-a.akamaihd.net/public/shared/javascript/jquery-1.8.3.min.js?v=.TZ2NKhB-nliU:2:16996)
at Object.c.fireWith [as resolveWith] (https://steamstore-a.akamaihd.net/public/shared/javascript/jquery-1.8.3.min.js?v=.TZ2NKhB-nliU:2:17783)
at Function.v.extend.ready (https://steamstore-a.akamaihd.net/public/shared/javascript/jquery-1.8.3.min.js?v=.TZ2NKhB-nliU:2:12504)
// removed for sanity
The script that it references works in all modern browsers:
This leads me to conclusion that underlying VM is rubbish. querySelector('form[name=XXX]) ran from node environment works fine. However document.forms["logon"] does not work. Any clues?
The text was updated successfully, but these errors were encountered:
pronebird
changed the title
document.forms["logon"].elements does not work
document.forms[].elements does not work
Nov 23, 2015
Still not implemented. I worked it around by
browser.window.document.forms["logon"] = browser.window.document.getElementById("logon")
in similar situation
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
Some of garbage code that I have to deal with uses:
This is essentially can be found on Steam's login page: https://store.steampowered.com/login/
Now whenever I press login button I get:
I tried to run manual evaluation:
Which results in the same garbage error and ends my test with:
My test looks as following:
Stack trace from error:
The script that it references works in all modern browsers:
This leads me to conclusion that underlying VM is rubbish.
querySelector('form[name=XXX])
ran from node environment works fine. Howeverdocument.forms["logon"]
does not work. Any clues?The text was updated successfully, but these errors were encountered: