695 reputation
57
bio website
location
age 27
visits member for 3 years, 7 months
seen Nov 25 at 21:40

Jul
7
answered What is the correct way to select an <option> using Selenium's Python WebDriver
Jul
1
comment WebDriver login and click action ain't working…
I am actually not sure you can run headless Firefox on a Windows box, but if you could it would be your best bet.
Jun
30
answered WebDriver login and click action ain't working…
Jun
30
comment switching windows with Selenium2 and c# where popup window has same title as originating window
Back before Selenium 2 could deal with alerts we used to have to call self.driver.execute_script('window.onbeforeunload = function(){};') (sorry its python bindings) in order to prevent the alert from showing up when we were trying to change pages without saving. Its a simple example, but I feel you will be able to do something similar
Jun
30
comment switching windows with Selenium2 and c# where popup window has same title as originating window
Sure, for a basic overview there is some at Selenium FAQ and for a more in-depth explanation you can use JavascriptExectutor API.
Jun
29
answered switching windows with Selenium2 and c# where popup window has same title as originating window
May
10
comment Attach to browser not spawned by Selenium2
IE uses a dll and chrome uses a zip file.
May
10
awarded  Beta
May
10
comment Attach to browser not spawned by Selenium2
I do not think you can attach to a browser not spawned by the driver. Tarun's solution will only allow switching to and from browsers spawned by that particular driver
May
9
comment Maintaining automation framework for different browsers like IE and FF
In my experience if it works in IE it will work in firefox. As such, in order to not have two sets of commands (one for firefox and on for IE), I try to convert to using DOM values consistently. On a side note, xpath is really difficult to use and not have to update for simple changes anyway. Hope that helps, if not let me know.
May
9
answered Maintaining automation framework for different browsers like IE and FF
May
9
answered Attach to browser not spawned by Selenium2
May
6
answered Capturing screen shots in selenium tests
May
6
comment Which locator do you use with Selenium CSS or XPath?
I agree with @CBA whole completely. We had originally used xpath for all of our selectors, and it quickly became apparent that using the class_name or id was the only way to write the tests in such a way that they would not need to be fixed for any small change to the html
May
6
answered Handling self-refreshing pages from selenium
May
5
awarded  Editor
May
5
revised Should end-to-end tests be self-contained?
deleted 2 characters in body
May
5
answered What are the advantages of automated user acceptance tests?
May
5
awarded  Teacher
May
5
answered Should end-to-end tests be self-contained?