645 reputation
56
bio website
location
age 27
visits member for 3 years, 3 months
seen Jun 10 at 14:24

May
3
awarded  Yearling
Apr
12
awarded  Enlightened
Apr
12
awarded  Nice Answer
Mar
28
comment What is the correct way to select an <option> using Selenium's Python WebDriver
@ChrisB you are correct that his solution is better, however I am fairly certain that when this was response was written the Select function did not exist :)
Jul
24
comment What is the correct way to select an <option> using Selenium's Python WebDriver
@abhi Make sure you are using find_elements_by_tag_name and not find_element_by_tag_name (The s in elements matters).
May
3
awarded  Yearling
May
3
awarded  Yearling
Dec
2
comment Can't open webpage using Firefox WebDriver using Selenium
What version of selenium are you using here?
Nov
9
comment Can't click this checkbox using WebDriver / Selenium — ElementNotVisibleException
Selenium calculates which elements are visible based on when they are used. If Selenium is telling you the element is not visible, but it looks like it is actually visible, it is almost certainly a timing issue and can be fixed by doing what is shown in my initial answer.
Nov
2
revised Can't click this checkbox using WebDriver / Selenium — ElementNotVisibleException
added 266 characters in body
Nov
1
comment Can't click this checkbox using WebDriver / Selenium — ElementNotVisibleException
The element does have a method called is_displayed. I have a function that will sleep at half second intervals until something occurs. In this case it would be half second intervals until your element is displayed. If you do take that approach make sure to give the timeout function a maximum time, otherwise if the element is never displayed, the test will hang indefinitely.
Nov
1
comment Can't click this checkbox using WebDriver / Selenium — ElementNotVisibleException
I have never had much luck with the WebDriverWait. I suggest just making a simple timeout function that will loop a couple of times and sleep between each iteration, checking to see if the element is visible yet.
Nov
1
answered Suggestions for continuous integration, test and deploy infrastructure for a Ruby on Rails application in Amazon EC2 cloud
Nov
1
answered Is opening site during set up a bad practice?
Nov
1
answered Can't click this checkbox using WebDriver / Selenium — ElementNotVisibleException
Jul
25
answered How to get the last value in a list/string using Python
Jul
7
awarded  Commentator
Jul
7
comment What is the correct way to select an <option> using Selenium's Python WebDriver
I just saw that you had answered your own question, oops :)
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.