From: "Mattias A." Date: 2013-03-18T01:02:09+09:00 Subject: Re: Selenium. catching Body class value Love U Ruby wrote in post #1101766: > You can use `XPATH` with "selenium-webdriver". I hope that will work. > You didn't give here the html code.If you provide I can give you a > better idea. > > Thanks Thanks for your reply! You can see the html below. 1. When you click Swedish, SWE turns up in the body class. ... ... 2. when you click English, GB turns up in the body class. ... ... Ans so on. Thanks in advance Mattias -- Posted via http://www.ruby-forum.com/.