Navigation Error when scripting
|
02-26-2019, 06:56 AM
Post: #2
|
|||
|
|||
RE: Navigation Error when scripting
IFrames. Stupid IFrames. If you find your way to my post, above, with similar issues, I would bet that your page has IFrames. In my case, my IFrame is coming from the same domain as the browser page -- if this is not the case for your IFrame, I'm not sure if this will work or not.
To access elements in the IFrame, I had to forget "setValue", "clickAndWait", and so on. I had to go straight to Javascript. It will look something like these examples: exec document.querySelector("iframe[id=stupidIFrameId]").contentDocument.querySelector("input[id=password]").value = 'password' execAndWait document.querySelector("iframe[id=stupidIFrameId]").contentDocument.querySelector("button[id=signInButton]").click() |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Navigation Error when scripting - MadCowMoo - 02-23-2019, 08:48 AM
RE: Navigation Error when scripting - MadCowMoo - 02-26-2019 06:56 AM
|
User(s) browsing this thread: 1 Guest(s)