Reputation
765
Top tag
Next privilege 1,000 Rep.
Edit questions and answers
Badges
5 7
Newest
 Custodian
Impact
~90k people reached

  • 0 posts edited
  • 0 helpful flags
  • 18 votes cast
Apr
28
comment What is the correct way to select an <option> using Selenium's Python WebDriver
Why did you edit my answer instead of adding your own?
Sep
5
awarded  Custodian
Sep
5
reviewed Approve What is the correct way to select an <option> using Selenium's Python WebDriver
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