Support > Forums > OpenBots Studio > Unable to load DLL 'mozglue': The specified module could not be found

Unable to load DLL 'mozglue': The specified module could not be found

Chris Rose

  • Reporter
  • Calender Icon May 19,2022 at 11:51 PM

Trying to run the Web Element Recorder, receiving this error message: Unable to load DLL 'mozglue': The specified module could not be found. (Exception from HRESULT: 0x8007007E).

************** Exception Text ************** System.DllNotFoundException: Unable to load DLL 'mozglue': The specified module could not be found. (Exception from HRESULT: 0x8007007E) at Gecko.Xpcom.Alloc(IntPtr size) at Gecko.nsAString..ctor() at Gecko.nsAString..ctor(String value) at Gecko.Xpcom.Initialize(String binDirectory) at OpenBots.UI.Forms.Supplement_Forms.frmWebElementRecorder..ctor(IContainer container, String startURL) at OpenBots.UI.Forms.ScriptBuilder_Forms.frmScriptBuilder.webElementRecorderToolStripMenuItem_Click(Object sender, EventArgs e) at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e) at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e) at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met) at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met) at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.ToolStrip.WndProc(Message& m) at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

This forum has 313 topics, 680 replies, and was last updated 17 days ago by Faheem Syed

Nataly Alvarado

  • Participant
  • Calender Icon May 20,2022 at 5:04 PM

Hi Chris,

Glad you found a solution!

Just wanted to point out that we recommend using the Native Browser Recorder as the main method to spy web elements.

Most of the features within Selenium are also present in Native Browser, except for the commands exclusive to Selenium like Execute Script and Switch Browser Frame. Moreover, Native Browser commands provide more tab functionality like the ability to open, activate, close and refresh a tab. As well as the ability to attach to an existing web session, send keys to a specific field and inject Js script.

We recommend using Selenium if the process requires an isolated instance, as Selenium will always create a web session free of cookies and cache. Since Native Browser commands communicate through the OpenBots extension, it opens more opportunities to our development team to build on top of these commands and add requested functionality.

Chris Rose

  • Participant
  • Calender Icon May 20,2022 at 12:10 AM

I found a solution. I needed to install this x86 Update for Visual C++ 2013 and Visual C++ Redistributable Package

https://download.microsoft.com/download/0/5/6/056dcda9-d667-4e27-8001-8a0c6971d6b1/vcredist_x86.exe

Then it worked.

You are not authorized to reply, please click here to login and add your reply to this topic.