Python

verifyTextPresent in Python Selenium 2 Webdriver 

Here is an example for Python.
function:
def is_text_present (self, string):
if str(string) in self.driver.page_source: return True
else: return False

More…

By Pavandeep Puddupakkam on September 7, 2011 | Python, WebDriver | 1 comment
Tags: , , ,

Selenium 2.2.0 & Python installation guide on Linux 

Here is the guide to install and using Selenium Webdriver and Python on Ubuntu Linux 11.04.
OS: Ubuntu 11.04
1. Verify version of Java is greater than version 1.5, use command:-
$ java –version
If java needs to be installed, use the following command:-
$ sudo apt-get install sun-java6-jre

More…

By Pavandeep Puddupakkam on July 29, 2011 | Python, WebDriver | 1 comment
Tags: , , , ,