Using Selenium to automate browser extension testing

Selenium is a great way to automate your browser testing.

Recently we had a customer write in asking about how to test browser extensions with Selenium.

After some research and a few changes mainly for message size, we have it working.

Since we are using webdriver.Remote you need to get the extension to our servers. You do that by including the extension in the chrome options or the firefox profile. In both cases the binary extension ends up being sent along in the capabilities in base64 encoding.

Opera 26+ enabled for desktop screenshots

Today we released Opera 26 and 27 screenshots across Windows and Mac OS.

Up until now, Opera browsers were only supported for versions 11 and 12 by Selenium's browser-automation tool, hence those were the only ones we could offer for screenshots. Selenium support starts with version 26, therefore we are offering these two latest versions with our screenshot system.

Opera moved from their Presto-based browser engine to Chromium starting with version 15. There are no 13 and 14 versions of Opera.

Recording and playing back tests in Selenium Builder

We have released a CrossBrowserTesting plugin for Selenium Builder that allows you to record interactions with your site and play them back against any of the selenium enabled browsers at CrossBrowserTesting. This makes it easy to get started with Selenium scripting - you just point and click to record your script, saving individual scripts or test suites. You can then choose to execute these scripts against our remote browsers. To get started, check out

Phones per U - Achieving density with physical mobile devices in a 42U cabinet

We are a big believer in browser testing on the real devices, thus we offer real iPhones, iPads, and Android devices - not just simulators. Hosting these in a traditional server rack, however, is a challenge. As we have grown, we have evolved our techniques. We started out with dish racks. Yes, dish racks. Sitting on shelves in our 42U racks. Dish racks held the devices separate, similarly to the way it holds plates apart so they can dry, and worked pretty well for tablets (not so great for phones). You could put around 15 to 25 devices in a given shelf, and 4 shelves in a cabinet.

You asked for it... File uploads to the remote desktop

We get our best ideas from our customers. Over the last few months, we have gotten the following requests from our customers:

Also for desktop tests, the inclusion of image files in a range of formats (gif, png, jpeg etc.) would be very cool too...

Using the live test implementation is it possible to somehow upload a file (CSV, Text, Image) to the virtual machine ?

We need to upload documents to test our application order flow...

Paste via CMD/CTRL+V added to HTML5 client

Those of use that use our keyboards to quickly copy and paste text may have found the fact that you could not paste into a Live Test session a little limiting. Though we do offer a Send Text input field in the app, this requires extra clicks and can be a bit slow.

To address this issue with the HTML5 client, we added the ability to paste clipboard data from your local machine into a Live Test session.

Scripting with the local connection

We just added a feature with the command line local connection that will help with scripting.

The problem we solved with this option is that you did not know when the command line local connection was finished connecting. So now when you run a command line tunnel you can include the ready option.

java -jar cbttunnel.jar -auth -ready ./tunnel.ready

Added 'Hide Fixed Elements' for Improved Fullpage Screenshots

We added a new feature to Screenshots for fullpage results that hides fixed-position elements appropriately. This makes it easier to visually verify layout down the fully-scrolled web page when fixed elements are not blocking the view.

Read more and see an example in our FAQ.

Great article on cross browser testing and IE

We always love it when we get mentioned :)

Here is a great article from the guys at FVM Strategic Communications about how they used our site to help them with the ever present IE problem.

Great article.

Physical Android devices added to screenshot engine

You can now test your page layout on a wide range of real, physical Android devices via our screenshot engine. We have been busy enabling Appium to run against our banks of physical Android devices, and this is now being used by our screenshot engine. This includes the following devices:

Nexus 5
Nexus 7
Samsung S3
Samsung S4
Samsung S5
Samsung Note3
Samsung Tab 2

Syndicate content