Debugging JavaScript using Dragonfly Opera - opera

I have used this link and installed Opera Dragonfly locally as mentioned. But now I am unable to load the JavaScript for debugging. Attached the screenshot of error. Any idea on resolving this?
I am using Opera 12.
My dragonfly environment is :
Protocol Version: 1
Core Version: 2.10.289
Operating System: Win32
Platform: Win32
User Agent: Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.289 Version/12.00
Opera Dragonfly Version: $dfversion$
Revision Number: $revdate$

I never tried out Dragonfly locally.
I see one potential problem with the post containing the link to the dragonfly zip-file.
This line here: 5. May 2011, 10:52:51
Are you sure that your version of Opera is still compatible to this version of Dragonfly?
This Repository contains the freshest version of Dragonfly available. Check out the integrated hints on how to build dragonfly. (I think building isn't even necessary if you are okay with some performance losses)
The following helps on general questions:
Did you select the right debugging context?
Either start Dragonfly from the Window you want to debug by pressing Ctrl+Shift+I or select the right context using the rightmost button below your zoom-slider in your screenshot.

Related

Turning off w3c permanently on msedgedriver.exe

My organization, just upgraded to Version 81.0.416.53 (Official build) (64-bit) of the edge chromium browser and I am the automation engineer for it. I am having issues getting my version of Watir/Ruby to work with it I have updated the Edge Webdriver to match the version number of the browser. I was originally using the Chrome class to interact with chromium, now that no longer works, but when I switch to Edge I keep getting a w3c error when I attempt to run my ui automation scripts. There doesn't appear to be a way for me to programatically turn off the Hardware acceleration for the webdriver through the Edge class in Watir/Selenium. I have turned it off for my browser, but when I run the webdriver, it is still turned on. Is there any way for me to make this change directly in the webdriver instead of trying to change an option that doesn't exist in Watir?
I am open to other suggestions if you have them. Thank You for your time.
System:
ruby 2.5.8p224 (2020-03-31 revision 67882) [x64-mingw32]
watir(6.16.5)
selenium-webdriver (3.142.7)
Edge Chromium Version 81.0.416.53 (Official build) (64-bit)
Windows 10
Code:
require 'watir'
Selenium::WebDriver::Edge::Service.driver_path = "c:/webdriver_location/msedgedriver.exe"
client = :edge
browser = Watir::Browser.new(client)
I ran into a similar issue before. You could use the options like Chrome's in Edge Chromium. The code in ruby is like the following:
capabilities = { "edgeOptions" => {'w3c' => false} }
I'm not familiar with Watir, don't know if this syntax can be used in Watir. You could change it into the usable one in Watir.
For more detailed information, you could also refer to this thread.

decodeAudioData example does not work on Safari

I tried to use decodeAudioData on Safari but failed. Searching for a solution I found that even
https://mdn.github.io/webaudio-examples/decode-audio-data/
does not work on safari (Version 11.0.2 (11604.4.7.1.6) on OSX 10.11.6)
For details see https://github.com/mdn/webaudio-examples/issues/5
Is there any workaround available?

What happened to Opera Dragonfly?

Using either 20.0.1387.82 or 22.0.1457.0 (developer)
When I right-click and select Inspect Element, I get a vanilla Developer Tools dialogue:
not the one always pictured:
It looks identical to Chrome's debugger (though I've uninstalled Chrome), most notably absent, the icons on top row and the remote debug facility.
Anyone know how I can get Dragonfly working on my machine?
Opera ditched their Presto rendering engine and built a new browser (also called Opera) around Blink (Google's fork of Webkit). It doesn't support Dragonfly any more.
There are plans to port it to the new browser.

How to use/open/enable Dragonfly?

I want to use the Dragonfly debugger for the Opera browser. I'm not sure what I did wrong. I downloaded the opera browser, but when I click inspect element, I just get the firebug debugger. And I'm not just confusing one for the other, because I've used Dragonfly on another machine before. Do I have to download another extension? I'm using a Max OS X 10.7.5. Thanks in advance.
Opera cannot communicate with the native Firebug (from Firefox), so it sounds like you've downloaded Opera, installed the Firebug Lite extension, and are starting this extension (via the button it installs) instead of Opera's built-in Dragonfly (which you start via right-click and "Inspect element", or by using Ctrl+Shift+I or the Mac equivalent). See this answer for more details.

Is the new IE9 a standalone browser

Anyone that has installed the new IE9 know if I can keep IE8 installed? I do a lot of web testing and don't want to update to IE9 if I loose IE8.
best way is to install a Virtual Machine
Per Microsoft:
If you are running Windows Vista or
Windows 7 on your computer, you can
install the Internet Explorer 9 Beta
to replace your existing version of
Internet Explorer. After you install
Internet Explorer 9, you can uninstall
it to restore the previously installed
version of Internet Explorer.
So no, it will overwrite IE8 (at least the Beta will. I suppose this is not guaranteed to be the same for the release version).
I use Virtual PC with images of the browsers I need to test, but also and more lately, IETester, http://www.my-debugbar.com/wiki/IETester/HomePage. It allows you to run multiple versions of IE side by side.
If you want to be able to play with the new features of IE9 without installing the entire browser (which will replace IE8) you can install the Platform Preview. The PP is stand-alone, includes the latest features and bug fixes and has been getting updated roughly every 8 weeks. You can get the latest Platform Preview at:
www.ietestdrive.com
FYI: the production IE 9 does not accurately reproduce IE 8. I've got a CSS issue I'm chasing down now because IE 9's IE 8 mode isn't the same as real IE 8.
If you are concerned with testing how your site looks in IE8/7, you can use the Developer Tools (press F12) to switch the Browser modes and Document modes so that IE9 interacts with the web server as a different user agent, and renders the HTML document according to the version rules.
http://msdn.microsoft.com/en-sg/ie/ff468705(en-us).aspx#_New_Dev_Tools
IE9 beta is released as a Windows update, so after installing it and playing around, you can remove it from Programs and Features -> Installed Updates, which will recover IE8.
hit f12 on ie9, it will pop up the debug console. In the menu there is a browser mode option where you can set the browser to display as ie8 and a bunch of other versions too.
Also, if you're mouse focus is on the console and you hit ctrl+r, it will clear your browser cache... This is a feature that all the other browser debuggers lack.. ability to quickly clear cache.... I'm rambling now.
The best way to see your site on old versions of IE is that:
If you have IE9+, open your current version of InternetExplorer, press F12, click on "Browser Mode" tab, then choose the version you want.
see screenshot here:
Works better than IE-tester, and easier than using virtual machine.