[jboss-user] [JBoss Tools] - BrowserSim FAQ

Max Rydahl Andersen do-not-reply at jboss.com
Wed Apr 25 17:09:51 EDT 2012

Max Rydahl Andersen [https://community.jboss.org/people/maxandersen] modified the document:

"BrowserSim FAQ"

To view the document, visit: https://community.jboss.org/docs/DOC-18100

*Q: What is BrowserSim ?*
*A:* BrowserSim is a Browser Simulator which primarily is intended for having a quick, easy and multi-platform way of testing if your webapp will render and behave correctly on a mobile device.

*Q: How does BrowserSim works ?*
*A:* It wraps a webkit browser and makes it respond and send work like a mobile browser by spoofing content and media request headers.

Q: What do I need to run BrowserSim?*
*A:* The requirements for different platforms are as listed below:
* Windows:* Only 32-bit Eclipse/JBDS is supported;
*  http://www.apple.com/safari/download/ Apple Safari must be installed.

* Linux:* WebKitGTK 1.2.0 or newer must be installed and available in the library load path.
* This should be available on RHEL and Ubuntu by default, if not use your package manager to install libwebkitgtk

* Mac OS X* It just works.

*Q: Can I use the browser as a replacement for testing on a real phone or emulator?*
A: Browsersim make it easy to test basic layout questions/issues on any platform without having to install a platform specifc emulator or manually try use a phone. 
That said it is not 100% reliable since there are so many different brands/versions of phones there will be differences in behavior, thus no, BrowserSim does not replace real or emulated phone testing. 
For full verfication/testing you should test on a real phone.

Comment by going to Community

Create a new document in JBoss Tools at Community
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120425/551b07f7/attachment.html 

More information about the jboss-user mailing list