Setting a Language with Selenium Webdriver in Ruby


Hello reader! This post was inspired by a project I was working on recently, adding a 'lang' option to a Selenium-Webdriver (the ruby gem) wrapper. I needed to instantiate Selenium::Webdriver.for(:firefox) and (:chrome) both locally and remotely (Sauce labs, specifically), setting a locale for each. There's plenty ...

read more