Sauce Labs
Blog

Selenium Resources

Selenium Tips: Efficiently removing cookies
Posted by Matthew Heusser in Selenium Resources

Let’s say you have a simple SaaS application with a setup that starts a browser and logs in. Towards the end of the test, the cleanup logs the user out, so the next test will run on time. But something goes wrong, and logout does not happen. The next test will go to the wrong screen, a screen with no username, password, or submit button field, causing long delays as the test waits for [...]

Selenium Tips: Working with Multiple Windows
Posted by Matthew Heusser in Selenium Resources

One common Selenium issue is dealing with popup windows. You might also want to create your own new windows to do something in a shared session. For example: To create a new account, the pop back to the original page to see that the javascript has updated to ‘see’ this new ‘friend’ appears on a friends list. For multiple window tasks, Selenium IDE provides the following [...]

WebDriver Moves To A W3C Recommendation

The W3C has officially moved the WebDriver protocol to recommended state, which means it is officially supported and endorsed by W3C. The Selenium Project added stable support for the W3C protocol in Selenium v3.8 through v3.11 and has indicated plans to migrate entirely to the new protocol in all upcoming versions. There are three main advantages to the W3C protocol: There will be an agreed to [...]

Nightwatch.js Makes Software Test Scripts Fun and Easy
Posted by Greg Sypolt in Guest Blog PostsSelenium ResourcesSoftware Development & Testing

Nightwatch.js is a Selenium wrapper that provides several out-of-the-box commands and assertions for performing various operations on the page. The commands and assertions are clean and straightforward, enabling you to develop tests very quickly using Javascript (specifically, Node.js). It allows you to create custom helpers to increase your testing capabilities. In this article, we’ll [...]

Move Over, Selenium 2: Why It’s Time to Upgrade to Selenium 3
Posted by Greg Sypolt in SeleniumSelenium Resources

Move over, Selenium 2. It's time to upgrade to Selenium 3. I have always been an early adopter. I can't help it. So it’s hard to believe it has been about six months since Selenium 3 released its first beta version, and that I’ve only recently been able to take it for a test drive. The upgrade from Selenium 2 to Selenium 3 was practically effortless. (I recommend that people start a [...]

SeConf UK 2016 - A Recap of What’s on the Horizon for Selenium
Posted by Dan Cuellar in Guest Blog PostsSeleniumSelenium Resources

So, I made it out to the London Selenium Conference last week and I thought I'd share with you a quick recap of some of the bits I found interesting, several of which reveal what may be coming next in the world of Selenium automation. Moving Beyond the Page Object Model Whenever I've used page objects in the past I've always felt that while they have many benefits, but also that they were only [...]

Selenium 3 is Coming!
Posted by Simon Stewart in Guest Blog PostsSeleniumSelenium Resources

Selenium 3 is coming! I’m here to tell you about what’s changed, and what impact this will have on your testing. TL;DR: WebDriver users will just find bug fixes and a drop-in replacement for 2.x. Selenium Grid users will also find bug fixes and a simple update. The WebDriver APIs are now the only APIs actively supported by the Selenium project. The Selenium RC APIs have been moved to [...]

Recap: Moving From a Selenium Grid to the Cloud - A Real Life Story (Webinar)

Thanks to everyone who joined us for our recent webinar, "Moving From a Selenium Grid to the Cloud - A Real Life Story", featuring Anshul Sharma, Senior QA Engineer at Emmi Solutions. During her presentation, Anshul discussed how Emmi Solutions made the move from testing on an in-house Selenium Grid to the Cloud, while also expanding test coverage and moving toward a full [...]

Free Trial

Get access to a free 14-day trial version, or contact Sales for more information.