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.

<html>
  <head>...</head>
  <body class="SWE">...</body>
</html>


2. when you click English, GB turns up in the body class.
<html>
  <head>...</head>
  <body class="GB">...</body>
</html>

Ans so on.

Thanks in advance
Mattias

-- 
Posted via http://www.ruby-forum.com/.