In a mailbox, there are 2 iframes in the message, after an email is received. The email is clicked, now there are 2 iFrames
I’m trying to parse a specific string but it parses the the whole page, which does not include the required string that I need.
" // BLOCK: res
data.ExecutingBlock(“res”);
await PuppeteerSwitchToFrame(data, RuriLib.Functions.Puppeteer.FindElementBy.Id, “mailContentFrame”, 0).ConfigureAwait(false);
// BLOCK: res2
data.ExecutingBlock(“res2”);
await PuppeteerSwitchToFrame(data, RuriLib.Functions.Puppeteer.FindElementBy.Id, “frameContent”, 0).ConfigureAwait(false);
// BLOCK: Parse
data.ExecutingBlock(“Parse”);
var parseOutput = ParseBetweenStrings(data, $“data.SOURCE”, “”, “”, false, “We highly recommend”, “Warcraft”);
data.MarkForCapture(nameof(parseOutput));"
//solved. Had to make a constant string