Hello, please sign in or register
You are here: Home

Cross-browser testing and debugging

Safari 3.0 beta

Late last year Safari 3.0 beta was release for Windows. ( Hurrah, i dont have to mess about with a macbook for £700). Although its beta for a reason and quicker than i installed it did i realise that it wasn't my code that was the breaking out.

Download

Download and Install Safari from http://www.apple.com/safari/download/

Grab the webkit (Safari's and other apple app's browser engine), which comes with a debugger Drosera. Extract to a directory you can easily access.

Turn on the Debug Menu

Step 1: Open up the Preferences.plist file in notepad.

In Windows XP:
C:\Documents and Settings\USERNAME\Application Data\Apple Computer\Safari\Preferences.plist

In Windows Vista:
C:\Users\USERNAME\AppData\Roaming\Apple Computer\Safari\Preferences.plist

Step 2: Add the following to the end of the file, just before "</dict></plist>":

<key>IncludeDebugMenu</key><true/>

Step 3: Now open up Safari and you have the Debug menu

 

How do I run Drosera in Windows?

Step 1: Make sure you download the Webkit Nightly Build located at http://nightly.webkit.org and extract its contents somewhere on your harddrive.

Step 2: If you're running Win Vista then  you'll have to add the following to the WebKitPreferences.plist file, just before "</dict></plist>":

<key>WebKitUserStyleSheetLocationPreferenceKey</key><true/>

You can find the WebKitPreferences.plist file within the same folder that the Preferences.plist file is in; it's path is shown above. Also, if you're running Vista and you don't add this snippet to the WebKitPreferences.plist file, then Safari will crash and you wont be able to debug until you add it.

Step 3: Execute the run-nightly-webkit.cmd file. This will launch Safari.

Step 4: Execute the run-drosera.cmd file. This will launch Drosera.

Step 5: Execute the FindSafari.exe file. This will link up Drosera to your running instance of Safari.

If you have multiple instance you may want to close all but one. I don't know if multiple instances of Safari will cause this to not work, but it's better to be safe.

Step 6: Now you can access web pages with Safari and step through / break on errors in the code.


(This blog contains content from http://pietschsoft.com/Blog/Post.aspx?PostID=1438)

Multiple Version of Windows IE

By standard. windows does not permit different versions of IE browser, and i've previously run VPC instances to test various layout and behavoirs between IE6 and IE7.

http://tredosoft.com/Multiple_IE lets us run IE 3.01,  IE 4.0, IE 5, IE 5.5, IE 6 as you would run any other application. Why did i not know about this before.

Another application which uses the javascript and rendering engine of IE 8b, 7, 6, 5 is http://www.my-debugbar.com/wiki/IETester/HomePage

 

 

Comments

hxy1.22
hxy1.22 ugg outlet burberry outlet louis vuitton
Created 22/01/17
Title*
Comment

Prove you are not a robot

To prove you are not a robot, please type in the six character code you see in the picture below
Security confirmation codeI can't see this!
Contact
Name*
Email never shown*
Home Page

Author

Andrew Dodson
Since:Feb 2007

Comment | flag

Categories

Bookmark and Share