0

I have a PS script (2.0) that I wrote that logs into a vendor provided website, clicks some links and scrapes some data and send an email based on that data.

The issue is they upgraded their website. I made some changes, but am stuck on one issue. You used to click a button to enter this website after logging in, but now you click a link. My code to click the link works, but after that I lose control. My document appears empty and I can't control it any further.

$ie.navigate2("https://ibsbusint.fnfis.com/BLP/NavModelServlet/Interop?appid=APPL00000056&channelName=EG_SSO")
WaitIE($ie)
$doc = $ie.document
WaitIE($ie)
$doc.getElementById("MonitorExtractJobs").Click();

The last line does nothing (even though the item exists in the browser). When I look at $doc, all the properties are blank. Not sure why since I set it after navigating to the new link.

user1612851
  • 1,144
  • 4
  • 18
  • 32

0 Answers0