Embed presentation
Downloaded 34 times





















![Selenium 2 profile
profile = Selenium::WebDriver::Firefox::Profile.new
profile[“some_setting“] = 1
selenium = Selenium::WebDriver.for :firefox, {:profile => profile}](https://image.slidesharecdn.com/seleniumcampv1-120313130520-phpapp01/75/Selenium-camp-v1-22-2048.jpg)















This document provides tips and tricks for using Selenium, including: - Waiting for AJAX calls to complete using Selenium 1 and 2 approaches. - Taking screenshots of test failures to include in reports. - Capturing videos of test runs on Linux systems for debugging failures. - Setting up Firefox profiles to preconfigure settings and extensions for tests. - Automatically downloading files during tests by configuring Firefox preferences.





















![Selenium 2 profile
profile = Selenium::WebDriver::Firefox::Profile.new
profile[“some_setting“] = 1
selenium = Selenium::WebDriver.for :firefox, {:profile => profile}](https://image.slidesharecdn.com/seleniumcampv1-120313130520-phpapp01/75/Selenium-camp-v1-22-2048.jpg)














