<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error with JavaScript invoker after edge update 150.0.4078.48 in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Error-with-JavaScript-invoker-after-edge-update-150-0-4078-48/m-p/125839#M54662</link>
    <description>&lt;P&gt;There have been historic problems with Invoke Javascript on different versions of Blue Prism what version are you using this may be a factor to check.&lt;/P&gt;&lt;P&gt;There is a new function in the navigate stage called 'Invoke Javascript Event' which might work better?&amp;nbsp;It seems to require less code than the traditional route. Check out the link to an article which might apply to you.&lt;BR /&gt;&lt;A href="https://support.blueprism.com/en/support/solutions/articles/7000078862" target="_blank"&gt;https://support.blueprism.com/en/support/solutions/articles/7000078862&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="greggoodrem_0-1783545019021.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/42267i7EEB9CF1415D510E/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="greggoodrem_0-1783545019021.png" alt="greggoodrem_0-1783545019021.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hope this helps but more detail on some of the things in the table would hopefully get you closer to a working solution.&lt;/P&gt;</description>
    <pubDate>Wed, 08 Jul 2026 21:14:12 GMT</pubDate>
    <dc:creator>greggoodrem</dc:creator>
    <dc:date>2026-07-08T21:14:12Z</dc:date>
    <item>
      <title>Error with JavaScript invoker after edge update 150.0.4078.48</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Error-with-JavaScript-invoker-after-edge-update-150-0-4078-48/m-p/125833#M54660</link>
      <description>&lt;P&gt;Hello, we are currently getting an Error with one of are Edge browser process's when it tries to invoke JavaScript. We are getting the error:&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;ERROR: Internal : Failed to perform step 2 in Navigate Stage 'Inject and run cookie javascript' on page 'Login' - JavaScript invoker returned the following error message: Attempted to Invoke JavaScript without Web Driver&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;The Web Driver, and Edge version appear to be the same version (150).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tommar_0-1783507188065.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/42261i4228FCBCADEB0AC3/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="tommar_0-1783507188065.png" alt="tommar_0-1783507188065.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tommar_3-1783509179780.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/42264i5A33741EF10B0772/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="tommar_3-1783509179780.png" alt="tommar_3-1783509179780.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The navigation stage throwing the error itself is made up of 2 parts.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The first action is a insert JavaScript function which sets up the script we run, the second stage is a invoke JavaScript function which executes the function set in stage 1 (the script is stored in the data item [JS-MODSESSION]). They both run against the root of the website.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tommar_1-1783508303215.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/42262i03A10B09E7300DA8/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="tommar_1-1783508303215.png" alt="tommar_1-1783508303215.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tommar_2-1783508311695.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/42263i7C3CF4D4CC014504/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="tommar_2-1783508311695.png" alt="tommar_2-1783508311695.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The&amp;nbsp;Script it uses is the following (for context this script is used to grab the current session token, so we can use the website's API to carry some tasks where the website interface itself is unsuitable for spying):&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;function createAndPopulateMODSESSIONTextBox() {
// 1. Get the MODSESSION value
const modSessionValue = document.cookie;

// 2. Create the text box element
const modSessionTextBox = document.createElement('input');

// 3. Set attributes for the text box
modSessionTextBox.type = 'text';
modSessionTextBox.id = 'MODSESSION'; // Assign an ID for easy reference
modSessionTextBox.readOnly = true; // Make it read-only if you just want to display the value
modSessionTextBox.value = modSessionValue; // Set the retrieved value

const label = document.createElement('label');
label.htmlFor = 'MODSESSION';
label.textContent = 'MODSESSION: ';
document.body.appendChild(label);
document.body.appendChild(modSessionTextBox);
}&lt;/LI-CODE&gt;&lt;P&gt;Any help would be appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2026 11:14:15 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Error-with-JavaScript-invoker-after-edge-update-150-0-4078-48/m-p/125833#M54660</guid>
      <dc:creator>tommar</dc:creator>
      <dc:date>2026-07-08T11:14:15Z</dc:date>
    </item>
    <item>
      <title>Re: Error with JavaScript invoker after edge update 150.0.4078.48</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Error-with-JavaScript-invoker-after-edge-update-150-0-4078-48/m-p/125839#M54662</link>
      <description>&lt;P&gt;There have been historic problems with Invoke Javascript on different versions of Blue Prism what version are you using this may be a factor to check.&lt;/P&gt;&lt;P&gt;There is a new function in the navigate stage called 'Invoke Javascript Event' which might work better?&amp;nbsp;It seems to require less code than the traditional route. Check out the link to an article which might apply to you.&lt;BR /&gt;&lt;A href="https://support.blueprism.com/en/support/solutions/articles/7000078862" target="_blank"&gt;https://support.blueprism.com/en/support/solutions/articles/7000078862&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="greggoodrem_0-1783545019021.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/42267i7EEB9CF1415D510E/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="greggoodrem_0-1783545019021.png" alt="greggoodrem_0-1783545019021.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hope this helps but more detail on some of the things in the table would hopefully get you closer to a working solution.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2026 21:14:12 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Error-with-JavaScript-invoker-after-edge-update-150-0-4078-48/m-p/125839#M54662</guid>
      <dc:creator>greggoodrem</dc:creator>
      <dc:date>2026-07-08T21:14:12Z</dc:date>
    </item>
  </channel>
</rss>

